Skip to content

Commit

Permalink
Merge pull request #725 from weni-ai/feature/send-authorizations
Browse files Browse the repository at this point in the history
fix typo send user email
  • Loading branch information
BarbosaJackson authored Sep 8, 2023
2 parents 9b08098 + 7692196 commit a3accfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connect/api/v2/projects/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def publish_create_project_message(self, instance):
authorizations = []
for authorization in instance.organization.authorizations.all():
if authorization.can_contribute:
authorizations.append({"email": authorization.user.email, "role": authorization.role})
authorizations.append({"user_email": authorization.user.email, "role": authorization.role})

message_body = {
"uuid": str(instance.uuid),
Expand Down

0 comments on commit a3accfa

Please sign in to comment.