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 +};