Skip to content

Commit

Permalink
feat: ✨ store markdown for inapp notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
alphainfinitus committed Jun 6, 2024
1 parent d56ba35 commit 23c6be6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export class NotificationService {
address: userNotificationPreferences.channelPreferences?.[CHANNEL.IN_APP]?.handle,
created_at: new Date(),
link: this.sourceArgs.link || '',
message: this.message,
message: this.markdownMessage,
type: 'sent',
network: String(this.sourceArgs.network)
} as IPSNotification;
Expand All @@ -244,7 +244,7 @@ export class NotificationService {
id: newNotificationRef.id,
userId: Number(userNotificationPreferences.channelPreferences?.[CHANNEL.IN_APP]?.handle),
created_at: new Date(),
message: this.message,
message: this.markdownMessage,
network: String(this.sourceArgs.network),
title: this.subject,
url: this.sourceArgs.link || ''
Expand All @@ -257,7 +257,7 @@ export class NotificationService {
id: newNotificationRef.id,
created_at: new Date(),
title: this.subject,
message: this.message,
message: this.markdownMessage,
url: this.sourceArgs?.link || ''
} as ITHNotification;
break;
Expand Down

0 comments on commit 23c6be6

Please sign in to comment.