Fixing issue detected by test.

This commit is contained in:
mike12345567 2023-09-25 15:05:14 +01:00
parent 56adf75bdd
commit 5f0050849e
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ function isArrayResponse(ctx: Ctx) {
} }
function noResponse(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) { function processApplications(ctx: Ctx) {