master
Your Name 6 days ago
parent 7671a602d0
commit ce4d5d2a9a
  1. 4
      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('سرویس سامح در دسترس نیست / خطای دریافت توکن')
}
};
};

Loading…
Cancel
Save