Skip to content
This repository was archived by the owner on May 25, 2026. It is now read-only.

Commit c530f7d

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

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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)