mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-31 07:11:33 +00:00
Disallow albumid keys on albums' uploads lists
This commit is contained in:
parent
51c5a81b18
commit
ebf0037df5
@ -830,9 +830,12 @@ self.list = async (req, res) => {
|
||||
}
|
||||
|
||||
if (filters) {
|
||||
let keywords = [
|
||||
let keywords = []
|
||||
|
||||
if (req.params.id === undefined)
|
||||
keywords = keywords.concat([
|
||||
'albumid'
|
||||
]
|
||||
])
|
||||
|
||||
// Only allow filtering by 'ip' and 'user' keys when listing all uploads
|
||||
if (all)
|
||||
|
Loading…
Reference in New Issue
Block a user