File tree 2 files changed +4
-4
lines changed
services/api/src/core/notifications
application/contracts/dtos
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export enum NotificationEventNames {
5
5
Notification = "notification" ,
6
6
}
7
7
8
- export class WebSocketNotificationDetail {
8
+ export class NotificationWebSocketDetails {
9
9
description ! : string ;
10
10
data ?: NotificationData ;
11
11
message ! : string ;
@@ -15,7 +15,7 @@ export class WebSocketNotificationDetail {
15
15
16
16
export class NotificationMetaDetails {
17
17
ws ! : {
18
- detail : WebSocketNotificationDetail ;
18
+ details : NotificationWebSocketDetails ;
19
19
eventNames : NotificationEventNames ;
20
20
} ;
21
21
}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { map } from "src/core/mapper";
11
11
12
12
import {
13
13
NotificationEventNames ,
14
- WebSocketNotificationDetail ,
14
+ NotificationWebSocketDetails ,
15
15
} from "../../application/contracts/dtos/notification-meta.dto" ;
16
16
import { INotification } from "../../types" ;
17
17
@@ -63,7 +63,7 @@ export class NotificationGateway
63
63
return false ;
64
64
}
65
65
66
- const notificationDto = map ( WebSocketNotificationDetail , notification ) ;
66
+ const notificationDto = map ( NotificationWebSocketDetails , notification ) ;
67
67
68
68
socket . emit ( NotificationEventNames . Notification , notificationDto ) ;
69
69
You can’t perform that action at this time.
0 commit comments