mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: change notifications actions url (#17083)
Related to #17082 Some notifications ( workspace created and workspace manually updated ) are using wrong variables to build the Action URL. Fixing it.
This commit is contained in:
Vendored
+3
-2
@@ -12,13 +12,14 @@
|
||||
"actions": [
|
||||
{
|
||||
"label": "View workspace",
|
||||
"url": "http://test.com/@bobby/bobby-workspace"
|
||||
"url": "http://test.com/@mrbobby/bobby-workspace"
|
||||
}
|
||||
],
|
||||
"labels": {
|
||||
"template": "bobby-template",
|
||||
"version": "alpha",
|
||||
"workspace": "bobby-workspace"
|
||||
"workspace": "bobby-workspace",
|
||||
"workspace_owner_username": "mrbobby"
|
||||
},
|
||||
"data": null,
|
||||
"targets": null
|
||||
|
||||
+3
-2
@@ -12,7 +12,7 @@
|
||||
"actions": [
|
||||
{
|
||||
"label": "View workspace",
|
||||
"url": "http://test.com/@bobby/bobby-workspace"
|
||||
"url": "http://test.com/@mrbobby/bobby-workspace"
|
||||
},
|
||||
{
|
||||
"label": "View template version",
|
||||
@@ -24,7 +24,8 @@
|
||||
"organization": "bobby-organization",
|
||||
"template": "bobby-template",
|
||||
"version": "alpha",
|
||||
"workspace": "bobby-workspace"
|
||||
"workspace": "bobby-workspace",
|
||||
"workspace_owner_username": "mrbobby"
|
||||
},
|
||||
"data": null,
|
||||
"targets": null
|
||||
|
||||
Reference in New Issue
Block a user