renamed "attachment" to "file" for consistency

This commit is contained in:
azivner
2018-03-27 22:11:06 -04:00
parent 913b6bb6f6
commit 7464835058
12 changed files with 75 additions and 75 deletions

View File

@@ -26,7 +26,7 @@ router.get('/:noteId', auth.checkApiAuth, wrap(async (req, res, next) => {
protected_session.decryptNote(req, detail);
if (detail.type === 'file') {
// no need to transfer (potentially large) attachment payload for this request
// no need to transfer (potentially large) file payload for this request
detail.content = null;
}