From ce4d5d2a9aa0cf43f3ff39c8abf116e1654efe13 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 25 Jun 2025 09:26:19 +0000 Subject: [PATCH] bug fix --- services/samehAuthentication.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/samehAuthentication.ts b/services/samehAuthentication.ts index cc20c1f..ea3a744 100644 --- a/services/samehAuthentication.ts +++ b/services/samehAuthentication.ts @@ -15,6 +15,8 @@ export const samehSmsAuth = async ({username, password}: {username: string, pass }); const { accessToken } = axiosResult.data.data; + console.log("$$$$$$$$$$$$$$$", axiosResult) + if (!accessToken) throw new NotFoundException('خطا در دریافت توکن') @@ -26,4 +28,4 @@ export const samehSmsAuth = async ({username, password}: {username: string, pass throw new InternalServerErrorException('سرویس سامح در دسترس نیست / خطای دریافت توکن') } -}; \ No newline at end of file +};