mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-31 07:11:33 +00:00
Updated uploadController.js
Fixed filtering null albumid
This commit is contained in:
parent
3d11e6a0ba
commit
f189d86abc
@ -1143,7 +1143,7 @@ self.list = async (req, res) => {
|
||||
(filterObj.queries.albumid && filterObj.flags.albumidNull) ||
|
||||
(!filterObj.queries.exclude.albumid && !filterObj.queries.albumid && filterObj.flags.albumidNull))
|
||||
this.orWhereNull('albumid')
|
||||
else if (filterObj.flags.ipNull === false)
|
||||
else if (filterObj.flags.albumidNull === false)
|
||||
this.orWhereNotNull('albumid')
|
||||
})
|
||||
else if (!all)
|
||||
|
Loading…
Reference in New Issue
Block a user