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