mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
Fix: specific item api & customer api
This commit is contained in:
@@ -55,8 +55,12 @@ export const fetchItem = ({ id }) => {
|
||||
.then((response) => {
|
||||
dispatch({
|
||||
type: t.ITEM_SET,
|
||||
item: response.data.item,
|
||||
payload: {
|
||||
id,
|
||||
item: response.data.item,
|
||||
},
|
||||
});
|
||||
resolve(response);
|
||||
})
|
||||
.catch((error) => {
|
||||
reject(error);
|
||||
|
||||
Reference in New Issue
Block a user