-fix url for login and transaction si hemat

This commit is contained in:
Fadli 2022-09-26 14:54:41 +07:00
parent 45064ee853
commit 7cd52a5998

View File

@ -8,7 +8,7 @@ export const doAuthorizeHemat = async (user, pass, supplier) => {
}; };
const res = await axios.post(`${supplier.url}/authenticate`, data); const res = await axios.post(`${supplier.url}/authenticate`, data);
return res; return res.data;
} catch (err) { } catch (err) {
throw err; throw err;
} }