Skip to content

Commit 7fc11ae

Browse files
committed
include story title in external notifications info
1 parent ec26222 commit 7fc11ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/src/core/server/services/notifications/externalService.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ enum NotificationType {
4242

4343
interface StoryInput {
4444
id: string;
45+
title: string;
4546
url: string;
4647
}
4748

@@ -135,6 +136,7 @@ export class ExternalNotificationsService {
135136
private storyToInput(story: Story): StoryInput {
136137
return {
137138
id: story.id,
139+
title: story.metadata?.title ?? "",
138140
url: story.url,
139141
};
140142
}

0 commit comments

Comments
 (0)