From 9f53302172ddf8e897f5b2a7e646bb57109963be Mon Sep 17 00:00:00 2001 From: Rushikesh-Sonawane99 Date: Tue, 5 Nov 2024 16:51:00 +0530 Subject: [PATCH] Issue #PS-000 chore: Updated middleware base url in services --- src/services/NotificationService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/NotificationService.ts b/src/services/NotificationService.ts index f973f32f..9a2ca53a 100644 --- a/src/services/NotificationService.ts +++ b/src/services/NotificationService.ts @@ -8,7 +8,7 @@ export const sendCredentialService = async ({ replacements, email, }: SendCredentialsRequest): Promise => { - const apiUrl: string = `${process.env.NEXT_PUBLIC_NOTIFICATION_BASE_URL}/notification/send`; + const apiUrl: string = `${process.env.NEXT_PUBLIC_MIDDLEWARE_URL}/notification/send`; try { const response = await post(apiUrl, { isQueue,