diff --git a/server/controllers/stats.js b/server/controllers/stats.js index 436d3da..89d847b 100644 --- a/server/controllers/stats.js +++ b/server/controllers/stats.js @@ -21,8 +21,9 @@ async function statistics(fastify) { prisma.secret.count({ where: { allowed_ip: { - not: null, - not: '', + not: { + in: [null, ''], + }, }, }, }),