mirror of
https://github.com/coder/coder.git
synced 2026-06-03 13:08:25 +00:00
fe24a7a4a8
This PR aimes to [fix this issue](https://github.com/coder/internal/issues/448) - The main idea is to remove greetings from templates stored in the DB - and instead push it into the template for require methods - for now SMTP.
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
{
|
|
"_version": "1.1",
|
|
"msg_id": "00000000-0000-0000-0000-000000000000",
|
|
"payload": {
|
|
"_version": "1.2",
|
|
"notification_name": "Workspace Manual Build Failed",
|
|
"notification_template_id": "00000000-0000-0000-0000-000000000000",
|
|
"user_id": "00000000-0000-0000-0000-000000000000",
|
|
"user_email": "bobby@coder.com",
|
|
"user_name": "Bobby",
|
|
"user_username": "bobby",
|
|
"actions": [
|
|
{
|
|
"label": "View build",
|
|
"url": "http://test.com/@mrbobby/bobby-workspace/builds/3"
|
|
}
|
|
],
|
|
"labels": {
|
|
"initiator": "joe",
|
|
"name": "bobby-workspace",
|
|
"template_name": "bobby-template",
|
|
"template_version_name": "bobby-template-version",
|
|
"workspace_build_number": "3",
|
|
"workspace_owner_username": "mrbobby"
|
|
},
|
|
"data": null,
|
|
"targets": null
|
|
},
|
|
"title": "Workspace \"bobby-workspace\" manual build failed",
|
|
"title_markdown": "Workspace \"bobby-workspace\" manual build failed",
|
|
"body": "A manual build of the workspace bobby-workspace using the template bobby-template failed (version: bobby-template-version).\nThe workspace build was initiated by joe.",
|
|
"body_markdown": "A manual build of the workspace **bobby-workspace** using the template **bobby-template** failed (version: **bobby-template-version**).\nThe workspace build was initiated by **joe**."
|
|
} |