Skip to content

Commit

Permalink
fix: the stats query
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarneo committed Oct 30, 2024
1 parent 1986a95 commit a2d250e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/controllers/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ async function statistics(fastify) {
prisma.secret.count({
where: {
allowed_ip: {
not: null,
not: '',
not: {
in: [null, ''],
},
},
},
}),
Expand Down

0 comments on commit a2d250e

Please sign in to comment.