mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00: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:
@ -517,11 +517,12 @@ func (api *API) notifyWorkspaceUpdated(
|
||||
receiverID,
|
||||
notifications.TemplateWorkspaceManuallyUpdated,
|
||||
map[string]string{
|
||||
"organization": template.OrganizationName,
|
||||
"initiator": initiator.Name,
|
||||
"workspace": workspace.Name,
|
||||
"template": template.Name,
|
||||
"version": version.Name,
|
||||
"organization": template.OrganizationName,
|
||||
"initiator": initiator.Name,
|
||||
"workspace": workspace.Name,
|
||||
"template": template.Name,
|
||||
"version": version.Name,
|
||||
"workspace_owner_username": owner.Username,
|
||||
},
|
||||
map[string]any{
|
||||
"workspace": map[string]any{"id": workspace.ID, "name": workspace.Name},
|
||||
|
Reference in New Issue
Block a user