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

This commit is contained in:
Houkime 2023-06-07 14:27:37 +00:00 committed by Inex Code
parent 5100f1a497
commit 792dcd459d

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