Fixing issue detected by test.
This commit is contained in:
parent
56adf75bdd
commit
5f0050849e
|
@ -19,7 +19,7 @@ function isArrayResponse(ctx: Ctx) {
|
|||
}
|
||||
|
||||
function noResponse(ctx: Ctx) {
|
||||
return Object.keys(ctx.body).length === 0
|
||||
return !Array.isArray(ctx.body) && Object.keys(ctx.body).length === 0
|
||||
}
|
||||
|
||||
function processApplications(ctx: Ctx) {
|
||||
|
|
Loading…
Reference in New Issue