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,