Skip to content

Commit 90f4c6b

Browse files
committed
allow converting file attachments to file notes
1 parent bdfa13a commit 90f4c6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/becca/entities/battachment.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ const protectedSessionService = require('../../services/protected_session.js');
88
const log = require('../../services/log.js');
99

1010
const attachmentRoleToNoteTypeMapping = {
11-
'image': 'image'
11+
'image': 'image',
12+
'file': 'file'
1213
};
1314

1415
/**

0 commit comments

Comments
 (0)