Skip to content

Commit

Permalink
Fix mattermost notif not sending from haie site
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault committed Jan 28, 2025
1 parent dba7f5d commit d1ae8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion envergo/users/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ def get(self, request, *args, **kwargs):
user.access_amenagement = True
elif site_literal == "haie":
user.access_haie = True
send_new_account_notification.delay(user.id)
user.save()
send_new_account_notification.delay(user.id)

return super().get(request, *args, **kwargs)

Expand Down

0 comments on commit d1ae8cb

Please sign in to comment.