Skip to content

Commit 25f297f

Browse files
feat: ✨ save trigger for in app notifications for PA
1 parent 23c6be6 commit 25f297f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

cloud-functions/src/notification-engine/NotificationService.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,8 @@ export class NotificationService {
247247
message: this.markdownMessage,
248248
network: String(this.sourceArgs.network),
249249
title: this.subject,
250-
url: this.sourceArgs.link || ''
250+
url: this.sourceArgs.link || '',
251+
trigger: this.trigger
251252
} as IPANotification;
252253
break;
253254

cloud-functions/src/notification-engine/polkassembly/_utils/types.ts

+1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ export interface IPANotification {
113113
message: string;
114114
url?: string;
115115
network: string;
116+
trigger: string;
116117
}
117118

118119
export enum EContentType {

0 commit comments

Comments
 (0)