fix: incorrect case on colum name
This commit is contained in:
parent
f944469162
commit
9da45d6160
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue