-fix url for login and transaction si hemat
This commit is contained in:
parent
45064ee853
commit
7cd52a5998
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user