mirror of
https://github.com/coder/coder.git
synced 2026-06-03 13:08:25 +00:00
7b65422ef3
Related to #17082 Some notifications ( workspace created and workspace manually updated ) are using wrong variables to build the Action URL. Fixing it.
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
{
|
|
"_version": "1.1",
|
|
"msg_id": "00000000-0000-0000-0000-000000000000",
|
|
"payload": {
|
|
"_version": "1.2",
|
|
"notification_name": "Workspace Created",
|
|
"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 workspace",
|
|
"url": "http://test.com/@mrbobby/bobby-workspace"
|
|
}
|
|
],
|
|
"labels": {
|
|
"template": "bobby-template",
|
|
"version": "alpha",
|
|
"workspace": "bobby-workspace",
|
|
"workspace_owner_username": "mrbobby"
|
|
},
|
|
"data": null,
|
|
"targets": null
|
|
},
|
|
"title": "Workspace 'bobby-workspace' has been created",
|
|
"title_markdown": "Workspace 'bobby-workspace' has been created",
|
|
"body": "The workspace bobby-workspace has been created from the template bobby-template using version alpha.",
|
|
"body_markdown": "The workspace **bobby-workspace** has been created from the template **bobby-template** using version **alpha**."
|
|
} |