From dea932ca956d9cd3bee8c502fc1b2daf94dbd29d Mon Sep 17 00:00:00 2001 From: amandilaras Date: Wed, 10 Apr 2024 22:09:25 +0300 Subject: [PATCH] try changing path --- .../services/inapp-notification/inapp-notification.service.ts | 2 +- .../web/controllers/InAppNotificationController.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dmp-frontend/src/app/core/services/inapp-notification/inapp-notification.service.ts b/dmp-frontend/src/app/core/services/inapp-notification/inapp-notification.service.ts index 4fde1247d..bcc3c2855 100644 --- a/dmp-frontend/src/app/core/services/inapp-notification/inapp-notification.service.ts +++ b/dmp-frontend/src/app/core/services/inapp-notification/inapp-notification.service.ts @@ -16,7 +16,7 @@ export class InAppNotificationService { constructor(private http: BaseHttpV2Service, private configurationService: ConfigurationService) { } - private get apiBase(): string { return `${this.configurationService.notificationServiceAddress}api/inapp-notification`; } + private get apiBase(): string { return `${this.configurationService.notificationServiceAddress}api/notification/inapp-notification`; } query(q: InAppNotificationLookup): Observable> { diff --git a/notification-service/notification-web/src/main/java/gr/cite/notification/web/controllers/InAppNotificationController.java b/notification-service/notification-web/src/main/java/gr/cite/notification/web/controllers/InAppNotificationController.java index 4ec5aee6b..49d0c7a99 100644 --- a/notification-service/notification-web/src/main/java/gr/cite/notification/web/controllers/InAppNotificationController.java +++ b/notification-service/notification-web/src/main/java/gr/cite/notification/web/controllers/InAppNotificationController.java @@ -38,7 +38,7 @@ import jakarta.transaction.Transactional; import java.util.*; @RestController -@RequestMapping(path = "api/inapp-notification") +@RequestMapping(path = "api/notification/inapp-notification") public class InAppNotificationController { private static final LoggerService logger = new LoggerService(LoggerFactory.getLogger(InAppNotificationController.class));