From b055b026c70136507cf682f4462bababaaca9775 Mon Sep 17 00:00:00 2001 From: Marcelo Arocha Date: Wed, 1 May 2024 15:09:26 -0300 Subject: [PATCH] intv add validation --- services/intervention_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/intervention_service.py b/services/intervention_service.py index 1dee72ab..8a3f93c2 100644 --- a/services/intervention_service.py +++ b/services/intervention_service.py @@ -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, )