fix(backups): return one job, not an array of one

This commit is contained in:
Houkime 2023-06-07 14:27:37 +00:00
parent 4b8abb6a66
commit 98de85e569

View file

@ -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])