Skip to content

Commit

Permalink
bugfix count
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Werfling committed Sep 25, 2023
1 parent 0d7ad0e commit aa4e1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/inc/Db/MariaDb/IpBlacklistService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export class IpBlacklistService extends DBService<IpBlacklist> {
.getRawOne();

if (count) {
return parseInt(count, 10) ?? 0;
return parseInt(count.total_count_blocks, 10) ?? 0;
}

return 0;
Expand Down

0 comments on commit aa4e1c1

Please sign in to comment.