fix(log.delete): id can be an array
This commit is contained in:
parent
fc86a3e882
commit
af245ed9fe
@ -30,7 +30,7 @@ async function delete_ ({namespace, id}) {
|
||||
|
||||
delete_.description = 'deletes one or several logs from a namespace'
|
||||
delete_.params = {
|
||||
id: { type: 'string' },
|
||||
id: { type: [ 'array', 'string' ] },
|
||||
namespace: { type: 'string' }
|
||||
}
|
||||
delete_.permission = 'admin'
|
||||
|
Loading…
Reference in New Issue
Block a user