fix(backups): return 400, not 300

pull/35/head
Houkime 2023-06-07 14:25:17 +00:00 committed by Inex Code
parent 44e45a5124
commit 5100f1a497
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class BackupMutations:
if snap is None:
return GenericJobButationReturn(
success=False,
code=300,
code=400,
message=f"No such snapshot: {snapshot_id}",
job=None,
)