aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/utils/Util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/utils/Util.js b/src/api/utils/Util.js
index d992d55..2b8a722 100644
--- a/src/api/utils/Util.js
+++ b/src/api/utils/Util.js
@@ -226,9 +226,9 @@ class Util {
const dbFile = await db.table('files')
.where(function() {
if (user === undefined) {
- this.whereNull('userid');
+ this.whereNull('userId');
} else {
- this.where('userid', user.id);
+ this.where('userId', user.id);
}
})
.where({