fixed missing shipcall id in backend result
This commit is contained in:
parent
573ab2d808
commit
dd3f000f84
@ -498,7 +498,7 @@ class InputValidationShipcall():
|
|||||||
|
|
||||||
# if the *existing* shipcall in the database is canceled, it may not be changed
|
# if the *existing* shipcall in the database is canceled, it may not be changed
|
||||||
if shipcall.get("canceled", False):
|
if shipcall.get("canceled", False):
|
||||||
raise ValidationError({"canceled":f"The shipcall with id 'shipcall_id' is canceled. A canceled shipcall may not be changed."})
|
raise ValidationError({"canceled":f"The shipcall with id {shipcall_id} is canceled. A canceled shipcall may not be changed."})
|
||||||
return
|
return
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user