Skip to content

Commit 9902373

Browse files
committed
make{lint,fmt}
1 parent 49ea0e5 commit 9902373

File tree

1 file changed

+31
-31
lines changed
  • docs/admin/monitoring/notifications

1 file changed

+31
-31
lines changed

docs/admin/monitoring/notifications/index.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -154,33 +154,33 @@ Here is an example payload for Coder's webhook notification:
154154

155155
```json
156156
{
157-
"_version": "1.0",
158-
"msg_id": "88750cad-77d4-4663-8bc0-f46855f5019b",
159-
"payload": {
160-
"_version": "1.0",
161-
"notification_name": "Workspace Deleted",
162-
"user_id": "4ac34fcb-8155-44d5-8301-e3cd46e88b35",
163-
"user_email": "danny@coder.com",
164-
"user_name": "danny",
165-
"user_username": "danny",
166-
"actions": [
167-
{
168-
"label": "View workspaces",
169-
"url": "https://et23ntkhpueak.pit-1.try.coder.app/workspaces"
170-
},
171-
{
172-
"label": "View templates",
173-
"url": "https://et23ntkhpueak.pit-1.try.coder.app/templates"
174-
}
175-
],
176-
"labels": {
177-
"initiator": "danny",
178-
"name": "my-workspace",
179-
"reason": "initiated by user"
180-
}
181-
},
182-
"title": "Workspace \"my-workspace\" deleted",
183-
"body": "Hi danny\n\nYour workspace my-workspace was deleted.\nThe specified reason was \"initiated by user (danny)\"."
157+
"_version": "1.0",
158+
"msg_id": "88750cad-77d4-4663-8bc0-f46855f5019b",
159+
"payload": {
160+
"_version": "1.0",
161+
"notification_name": "Workspace Deleted",
162+
"user_id": "4ac34fcb-8155-44d5-8301-e3cd46e88b35",
163+
"user_email": "danny@coder.com",
164+
"user_name": "danny",
165+
"user_username": "danny",
166+
"actions": [
167+
{
168+
"label": "View workspaces",
169+
"url": "https://et23ntkhpueak.pit-1.try.coder.app/workspaces"
170+
},
171+
{
172+
"label": "View templates",
173+
"url": "https://et23ntkhpueak.pit-1.try.coder.app/templates"
174+
}
175+
],
176+
"labels": {
177+
"initiator": "danny",
178+
"name": "my-workspace",
179+
"reason": "initiated by user"
180+
}
181+
},
182+
"title": "Workspace \"my-workspace\" deleted",
183+
"body": "Hi danny\n\nYour workspace my-workspace was deleted.\nThe specified reason was \"initiated by user (danny)\"."
184184
}
185185
```
186186

@@ -250,13 +250,13 @@ To resume sending notifications, execute
250250
If notifications are not being delivered, use the following methods to
251251
troubleshoot:
252252

253-
1. Ensure notifications are being added to the `notification_messages` table
254-
2. Review any error messages in the `status_reason` column, should an error
253+
1. Ensure notifications are being added to the `notification_messages` table
254+
2. Review any error messages in the `status_reason` column, should an error
255255
have occurred
256-
3. Review the logs (search for the term `notifications`) for diagnostic
256+
3. Review the logs (search for the term `notifications`) for diagnostic
257257
information<br> _If you do not see any relevant logs, set
258258
`CODER_VERBOSE=true` or `--verbose` to output debug logs_
259-
4. If you are on version 2.15.x, notifications must be enabled using the
259+
4. If you are on version 2.15.x, notifications must be enabled using the
260260
`notifications`
261261
[experiment](https://coder.com/docs/contributing/feature-stages#experimental-features).
262262
Notifications are enabled by default starting in v2.16.0.

0 commit comments

Comments
 (0)