fix(log.delete): id can be an array

This commit is contained in:
Julien Fontanet 2016-05-26 13:34:17 +02:00
parent fc86a3e882
commit af245ed9fe

View File

@ -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'