mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-22 12:11:26 +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,
|
||||
code=200,
|
||||
message="restore job created",
|
||||
jobs=[get_restore_job(service)],
|
||||
job=get_restore_job(service),
|
||||
)
|
||||
|
||||
@strawberry.mutation(permission_classes=[IsAuthenticated])
|
||||
|
|
Loading…
Reference in a new issue