mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
server/api + docs/api: organize responses
This commit is contained in:
@ -10,4 +10,4 @@ class SnapshotListApi(BaseApi):
|
||||
def get(self, ctx):
|
||||
auth.verify_privilege(ctx.user, 'snapshots:list')
|
||||
return self._search_executor.execute_and_serialize(
|
||||
ctx, snapshots.serialize_snapshot, 'snapshots')
|
||||
ctx, snapshots.serialize_snapshot)
|
||||
|
Reference in New Issue
Block a user