Skip to content

Commit fd83543

Browse files
authored
feat/app urls (#2028)
* use correct url in notifications * fix urls
1 parent 38be7b3 commit fd83543

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ee/drift/controllers/notifications.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func sectionBlockForProject(project models.Project) (*slack.SectionBlock, error)
118118
sectionBlock := slack.NewSectionBlock(
119119
nil,
120120
[]*slack.TextBlockObject{
121-
slack.NewTextBlockObject("mrkdwn", fmt.Sprintf("<%v/project/%v|%v>", os.Getenv("DIGGER_APP_URL"), project.ID, project.Name), false, false),
121+
slack.NewTextBlockObject("mrkdwn", fmt.Sprintf("<%v/dashboard/projects/%v|%v>", os.Getenv("DIGGER_APP_URL"), project.ID, project.Name), false, false),
122122
slack.NewTextBlockObject("mrkdwn", ":white_circle: Acknowledged Drift", false, false),
123123
},
124124
nil,
@@ -128,7 +128,7 @@ func sectionBlockForProject(project models.Project) (*slack.SectionBlock, error)
128128
sectionBlock := slack.NewSectionBlock(
129129
nil,
130130
[]*slack.TextBlockObject{
131-
slack.NewTextBlockObject("mrkdwn", fmt.Sprintf("<%v/project/%v|%v>", os.Getenv("DIGGER_APP_URL"), project.ID, project.Name), false, false),
131+
slack.NewTextBlockObject("mrkdwn", fmt.Sprintf("<%v/dashboard/projects/%v|%v>", os.Getenv("DIGGER_APP_URL"), project.ID, project.Name), false, false),
132132
slack.NewTextBlockObject("mrkdwn", ":large_yellow_circle: Drift detected", false, false),
133133
},
134134
nil,

0 commit comments

Comments
 (0)