mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-26 05:51:29 +00:00
fix(backups): return 400, not 300
This commit is contained in:
parent
44e45a5124
commit
5100f1a497
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue