Skip to content

Commit

Permalink
ip
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTharz committed Jun 17, 2024
1 parent a54a671 commit 804085d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/features/cashier-dashboard/services/ItemService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ const useItemService = () => {
}
setLoading(true);
const res = await http.get(
// `/item/branched/get-item/${user.user?.branchId}`
`/item/branched/get-item/1`
`/item/branched/get-item/${user.user?.branchId}`
// `/item/branched/get-item/1`
);
const data = res.data.data;
if (data.length === 0) return [];
Expand Down
3 changes: 2 additions & 1 deletion src/features/login/services/useAxiosInstance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { useEffect } from 'react';

const useAxiosInstance = () => {
const instance = axios.create({
baseURL: 'http://localhost:8079/lifepill/v1',
// baseURL: 'http://localhost:8079/lifepill/v1',
baseURL: 'https://3.82.134.54:8079/lifepill/v1',
headers: {
'Content-type': 'application/json',
},
Expand Down

0 comments on commit 804085d

Please sign in to comment.