mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
fix: update acknowledge route to acknowledge-page in UserNotificationRuleService
This commit is contained in:
@@ -1058,7 +1058,9 @@ export class Service extends DatabaseService<Model> {
|
||||
host,
|
||||
new Route(AppApiRoute.toString())
|
||||
.addRoute(new UserOnCallLogTimeline().crudApiPath!)
|
||||
.addRoute("/acknowledge/" + userOnCallLogTimelineId.toString()),
|
||||
.addRoute(
|
||||
"/acknowledge-page/" + userOnCallLogTimelineId.toString(),
|
||||
),
|
||||
),
|
||||
);
|
||||
const url: URL = await ShortLinkService.getShortenedUrl(shortUrl);
|
||||
@@ -1091,7 +1093,9 @@ export class Service extends DatabaseService<Model> {
|
||||
host,
|
||||
new Route(AppApiRoute.toString())
|
||||
.addRoute(new UserOnCallLogTimeline().crudApiPath!)
|
||||
.addRoute("/acknowledge/" + userOnCallLogTimelineId.toString()),
|
||||
.addRoute(
|
||||
"/acknowledge-page/" + userOnCallLogTimelineId.toString(),
|
||||
),
|
||||
),
|
||||
);
|
||||
const url: URL = await ShortLinkService.getShortenedUrl(shortUrl);
|
||||
@@ -1125,7 +1129,9 @@ export class Service extends DatabaseService<Model> {
|
||||
host,
|
||||
new Route(AppApiRoute.toString())
|
||||
.addRoute(new UserOnCallLogTimeline().crudApiPath!)
|
||||
.addRoute("/acknowledge/" + userOnCallLogTimelineId.toString()),
|
||||
.addRoute(
|
||||
"/acknowledge-page/" + userOnCallLogTimelineId.toString(),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
@@ -1179,7 +1185,9 @@ export class Service extends DatabaseService<Model> {
|
||||
host,
|
||||
new Route(AppApiRoute.toString())
|
||||
.addRoute(new UserOnCallLogTimeline().crudApiPath!)
|
||||
.addRoute("/acknowledge/" + userOnCallLogTimelineId.toString()),
|
||||
.addRoute(
|
||||
"/acknowledge-page/" + userOnCallLogTimelineId.toString(),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user