From 1f43bac181da5423ef918cfc5c5355aa2b3cfcb6 Mon Sep 17 00:00:00 2001 From: amandilaras Date: Wed, 10 Apr 2024 22:33:14 +0300 Subject: [PATCH] Revert "try changing path" This reverts commit dea932ca956d9cd3bee8c502fc1b2daf94dbd29d. --- .../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 bcc3c2855..4fde1247d 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/notification/inapp-notification`; } + private get apiBase(): string { return `${this.configurationService.notificationServiceAddress}api/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 49d0c7a99..4ec5aee6b 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/notification/inapp-notification") +@RequestMapping(path = "api/inapp-notification") public class InAppNotificationController { private static final LoggerService logger = new LoggerService(LoggerFactory.getLogger(InAppNotificationController.class));