Skip to content

Commit

Permalink
intv add validation
Browse files Browse the repository at this point in the history
  • Loading branch information
marceloarocha committed May 1, 2024
1 parent 613542e commit b055b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/intervention_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ def save_intervention(

if new_status != "0" and new_status != "s":
raise ValidationError(
"O desfecho não pode ser aplicado nesta interface",
"O desfecho não pode ser aplicado nesta interface.",
"errors.invalidRecord",
status.HTTP_400_BAD_REQUEST,
)
Expand Down

0 comments on commit b055b02

Please sign in to comment.