mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 02:05:53 +01:00
server-ts: Convert routes/api/notes
This commit is contained in:
@@ -269,8 +269,8 @@ function transactional<T>(func: (statement: Statement) => T) {
|
||||
}
|
||||
}
|
||||
|
||||
function fillParamList(paramIds: string[], truncate = true) {
|
||||
if (paramIds.length === 0) {
|
||||
function fillParamList(paramIds: string[] | Set<string>, truncate = true) {
|
||||
if ("length" in paramIds && paramIds.length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user