mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
Fix data validation type for prefix
(#2660)
* fix param validation * fix data validation type for `prefix`
This commit is contained in:
parent
18d439dd44
commit
d6c0fc734f
@ -46,7 +46,7 @@ function register(router) {
|
||||
'mime': [v.notNull, v.isString],
|
||||
'content': [v.notNull, v.isString],
|
||||
'notePosition': [v.notNull, v.isInteger],
|
||||
'prefix': [v.notNull, v.isInteger],
|
||||
'prefix': [v.notNull, v.isString],
|
||||
'isExpanded': [v.notNull, v.isBoolean],
|
||||
'noteId': [v.notNull, v.isValidEntityId],
|
||||
'branchId': [v.notNull, v.isValidEntityId],
|
||||
|
Loading…
x
Reference in New Issue
Block a user