mirror of
https://github.com/coder/coder.git
synced 2026-06-07 23:18:20 +00:00
dfb6bfa4d2
This PR will ensure that optional fields are ignored when they are unset in user account related templates.
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
{
|
|
"_version": "1.1",
|
|
"msg_id": "00000000-0000-0000-0000-000000000000",
|
|
"payload": {
|
|
"_version": "1.1",
|
|
"notification_name": "User account suspended",
|
|
"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 suspended accounts",
|
|
"url": "http://test.com/deployment/users?filter=status%3Asuspended"
|
|
}
|
|
],
|
|
"labels": {
|
|
"initiator": "rob",
|
|
"suspended_account_name": "bobby",
|
|
"suspended_account_user_name": "William Tables"
|
|
},
|
|
"data": null
|
|
},
|
|
"title": "User account \"bobby\" suspended",
|
|
"title_markdown": "User account \"bobby\" suspended",
|
|
"body": "Hi Bobby,\n\nUser account bobby has been suspended.\n\nThe account belongs to William Tables and it was suspended by rob.",
|
|
"body_markdown": "Hi Bobby,\n\nUser account **bobby** has been suspended.\n\nThe account belongs to **William Tables** and it was suspended by **rob**."
|
|
} |