fix: fix temporary whitelist IP listing endpoint

Fix new API endpoint `/api/whitelist/temp/list` to retrieve currently
active temporary whitelisted IPs. Also clean up trailing whitespace in
the permanent whitelist endpoint section.
This commit is contained in:
db123-test
2026-05-05 18:39:17 +03:30
parent e244d01911
commit 30adeeebed

View File

@@ -110,6 +110,8 @@ paths:
description: Internal error — database failure
'405':
description: Method not allowed — only POST is supported
/api/whitelist/temp/list:
get:
summary: List temporary whitelisted IPs
description: List all currently active temporary whitelisted IPs.
@@ -213,7 +215,7 @@ paths:
example: "ip already exists"
'500':
description: Internal error
/api/whitelist/perm/list:
get:
summary: List permanent whitelisted IPs