aboutsummaryrefslogtreecommitdiff
path: root/server/szurubooru/api/pool_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'server/szurubooru/api/pool_api.py')
-rw-r--r--server/szurubooru/api/pool_api.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/szurubooru/api/pool_api.py b/server/szurubooru/api/pool_api.py
index 3d4f74c..9627ed2 100644
--- a/server/szurubooru/api/pool_api.py
+++ b/server/szurubooru/api/pool_api.py
@@ -17,7 +17,8 @@ def _get_pool(params: Dict[str, str]) -> model.Pool:
@rest.routes.get('/pools/?')
-def get_pools(ctx: rest.Context, _params: Dict[str, str] = {}) -> rest.Response:
+def get_pools(
+ ctx: rest.Context, _params: Dict[str, str] = {}) -> rest.Response:
auth.verify_privilege(ctx.user, 'pools:list')
return _search_executor.execute_and_serialize(
ctx, lambda pool: _serialize(ctx, pool))

© 2015 - 2026 Jakob L. Kreuze