Skip to content

Commit

Permalink
feature: changing detail message
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanJaeger committed Feb 11, 2025
1 parent abad9a4 commit 040a8ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion chats/apps/api/v1/projects/viewsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,9 @@ def set_project_as_principal(self, request, *args, **kwargs):
)
if existing_principal:
return Response(
{"detail": "Já existe um projeto principal nesta organização."},
{
"detail": "There is already a principal project in this organization."
},
status=status.HTTP_400_BAD_REQUEST,
)

Expand Down

0 comments on commit 040a8ee

Please sign in to comment.