We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10c0156 commit ffb603aCopy full SHA for ffb603a
src/services/entry/actions/delete-entry.ts
@@ -90,7 +90,7 @@ export async function deleteEntry(
90
builder.andWhere({[`${Entry.tableName}.${EntryColumn.Scope}`]: scope});
91
}
92
93
- if (types) {
+ if (types && types.length > 0) {
94
builder.whereIn([`${Entry.tableName}.${EntryColumn.Type}`], types);
95
96
})
0 commit comments