mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-26 14:01:30 +00:00
fix(backups): return one job, not an array of one
This commit is contained in:
parent
4b8abb6a66
commit
98de85e569
|
@ -112,7 +112,7 @@ class BackupMutations:
|
||||||
success=True,
|
success=True,
|
||||||
code=200,
|
code=200,
|
||||||
message="restore job created",
|
message="restore job created",
|
||||||
jobs=[get_restore_job(service)],
|
job=get_restore_job(service),
|
||||||
)
|
)
|
||||||
|
|
||||||
@strawberry.mutation(permission_classes=[IsAuthenticated])
|
@strawberry.mutation(permission_classes=[IsAuthenticated])
|
||||||
|
|
Loading…
Reference in a new issue