chore: update
This commit is contained in:
@@ -18,7 +18,7 @@ import { UtilsModule } from "../utils/utils.module";
|
|||||||
|
|
||||||
@Module({
|
@Module({
|
||||||
imports: [
|
imports: [
|
||||||
HttpModule,
|
HttpModule.register({ timeout: 10000 }),
|
||||||
MikroOrmModule.forFeature([Notification, NotificationSetting, User]),
|
MikroOrmModule.forFeature([Notification, NotificationSetting, User]),
|
||||||
BullModule.registerQueue({ name: NOTIFICATION.QUEUE_NAME }),
|
BullModule.registerQueue({ name: NOTIFICATION.QUEUE_NAME }),
|
||||||
UtilsModule,
|
UtilsModule,
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ export class NotificationsService {
|
|||||||
title: createNotificationDto.title,
|
title: createNotificationDto.title,
|
||||||
body: createNotificationDto.message,
|
body: createNotificationDto.message,
|
||||||
notification_click: {
|
notification_click: {
|
||||||
click_url: `${this.configService.getOrThrow("FRONTEND_URL")}/notifications`,
|
click_url: `${this.configService.getOrThrow("FRONTEND_URL")}/received`,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user