Skip to content

Commit 33ee051

Browse files
Johan BookJohan Book
Johan Book
authored and
Johan Book
committed
feat(api): include message and type in notification list query
1 parent 4936df3 commit 33ee051

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
export class NotificationDetails {
22
id!: string;
3+
message!: string;
34
resourcePath!: string;
5+
type!: string;
46
}

services/api/src/core/notifications/application/handlers/query-handlers/get-notification-list.handler.ts

+2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ export class GetNotificationListHandler
4646
fountNotifications,
4747
(notification) => ({
4848
id: notification.id,
49+
message: notification.message,
4950
resourcePath: notification.resourcePath,
51+
type: notification.type,
5052
}),
5153
);
5254
}

0 commit comments

Comments
 (0)