mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-03-18 20:39:46 +00:00
fix(backups): return 400, not 300
This commit is contained in:
parent
0c95c5913b
commit
4b8abb6a66
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class BackupMutations:
|
||||||
if snap is None:
|
if snap is None:
|
||||||
return GenericJobButationReturn(
|
return GenericJobButationReturn(
|
||||||
success=False,
|
success=False,
|
||||||
code=300,
|
code=400,
|
||||||
message=f"No such snapshot: {snapshot_id}",
|
message=f"No such snapshot: {snapshot_id}",
|
||||||
job=None,
|
job=None,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue