mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-29 07:21:27 +00:00
fix(backups): return one job, not an array of one
This commit is contained in:
parent
5100f1a497
commit
792dcd459d
|
@ -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