diff --git a/src/helper/sihemat-authorization.ts b/src/helper/sihemat-authorization.ts index b8192d5..cb9dee6 100644 --- a/src/helper/sihemat-authorization.ts +++ b/src/helper/sihemat-authorization.ts @@ -8,7 +8,7 @@ export const doAuthorizeHemat = async (user, pass, supplier) => { }; const res = await axios.post(`${supplier.url}/authenticate`, data); - return res; + return res.data; } catch (err) { throw err; }