Adds integration tests for per path access lists

This commit is contained in:
Jamie Curnow committed 2026-09-24 11:37:43 +10:00
1 parent c41ec008bb
commit 9f975cbdf0
21 files changed
+518 -103

No files matched your search

+4
View File
@@ -31,6 +31,10 @@ class AccessList extends Model {
$parseDatabaseJson(json) {
const thisJson = super.$parseDatabaseJson(json);
// Postgres returns COUNT() as a string
if (typeof thisJson.proxy_host_count === "string") {
thisJson.proxy_host_count = Number.parseInt(thisJson.proxy_host_count, 10);
}
return convertIntFieldsToBool(thisJson, boolFields);
}