attachments have a position

This commit is contained in:
zadam
2023-04-11 22:55:50 +02:00
parent 3f8bf7cacc
commit 6cf0fe0b73
6 changed files with 20 additions and 7 deletions

View File

@@ -37,6 +37,7 @@ function requestCredentials(res) {
.sendStatus(401);
}
/** @returns {SNote|boolean} */
function checkNoteAccess(noteId, req, res) {
const note = shaca.getNote(noteId);