Skip to content

Commit

Permalink
A more proper message to send in assignations
Browse files Browse the repository at this point in the history
  • Loading branch information
JennyRemolina committed Jul 12, 2019
1 parent 77789ec commit 97a9ebc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ def send_assignations(sender, instance, created, **kwargs):
userProject = UserProject.objects.get(user=user, project=project)
create_notification("assignation", user, instance)
payload = {
"project": project.id,
"project": project.title,
"role": userProject.role,
"task": instance.task.id,
"task": instance.task.title,
"notifier_type": "assignation",
}
content = insert_content(payload)
Expand Down

0 comments on commit 97a9ebc

Please sign in to comment.