Skip to content

Commit e1f49bb

Browse files
authored
Merge pull request #46 from PretendoNetwork/dev
2 parents 57af042 + 7f841de commit e1f49bb

File tree

2 files changed

+6
-28
lines changed

2 files changed

+6
-28
lines changed

package-lock.json

Lines changed: 3 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/database.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,15 @@ export function getCTRTaskFilesWithAttributes(allowDeleted: boolean, bossAppID:
186186
}
187187

188188
if (attribute1) {
189-
filter.attributes.attribute1 = attribute1;
189+
filter['attributes.attribute1'] = attribute1;
190190
}
191191

192192
if (attribute2) {
193-
filter.attributes.attribute2 = attribute2;
193+
filter['attributes.attribute2'] = attribute2;
194194
}
195195

196196
if (attribute3) {
197-
filter.attributes.attribute3 = attribute3;
197+
filter['attributes.attribute3'] = attribute3;
198198
}
199199

200200
if (filter.$and?.length === 0) {

0 commit comments

Comments
 (0)