attachment ETAPI support WIP

This commit is contained in:
zadam
2023-06-05 09:44:36 +02:00
parent 3b3f6082a7
commit 57702a07a2
4 changed files with 37 additions and 10 deletions

View File

@@ -49,8 +49,7 @@ function register(router) {
'notePosition': [v.notNull, v.isInteger],
'prefix': [v.notNull, v.isString],
'isExpanded': [v.notNull, v.isBoolean],
'noteId': [v.notNull, v.isValidEntityId],
'branchId': [v.notNull, v.isValidEntityId],
'noteId': [v.notNull, v.isValidEntityId]
};
eu.route(router, 'post' ,'/etapi/create-note', (req, res, next) => {