Skip to content

Commit b67d2c3

Browse files
committed
Add more information to notification e-mails
1 parent fc32d9a commit b67d2c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

api/simqueue/resources/for_users.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,9 @@ async def update_project(
10911091
message = (
10921092
f"New NMPI project created\n\nUser: {user.username}\n"
10931093
f"Collab: {original_project.collab}\nTitle: {project_update.title or original_project.title}\n\n"
1094-
"Please visit https://adminapp.apps.tc.humanbrainproject.eu/ to review it\n"
1094+
"Please visit https://adminapp.apps.tc.humanbrainproject.eu/ to review it\n\n\n"
1095+
f"Abstract: {project_update.abstract or original_project.abstract}\n\n"
1096+
f"{project_update.description or original_project.description}\n"
10951097
)
10961098
background_tasks.add_task(send_email, settings.ADMIN_EMAIL, message)
10971099

0 commit comments

Comments
 (0)