Skip to content

Commit 161a70a

Browse files
authored
Merge branch 'main' into task5-integration-with-S3
2 parents 776de5d + baea34f commit 161a70a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/constants/apiPaths.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const API_PATHS = {
2-
product: "https://.execute-api.eu-west-1.amazonaws.com/dev",
2+
product: "https://7u8vlssv4d.execute-api.us-east-1.amazonaws.com",
33
order: "https://.execute-api.eu-west-1.amazonaws.com/dev",
44
import: "https://ol9cna0j4c.execute-api.us-east-1.amazonaws.com/dev",
5-
bff: "https://.execute-api.eu-west-1.amazonaws.com/dev",
5+
bff: "https://7u8vlssv4d.execute-api.us-east-1.amazonaws.com",
66
cart: "https://.execute-api.eu-west-1.amazonaws.com/dev",
77
};
88

src/queries/products.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function useAvailableProducts() {
99
"available-products",
1010
async () => {
1111
const res = await axios.get<AvailableProduct[]>(
12-
`${API_PATHS.bff}/product/available`
12+
`${API_PATHS.bff}/products`
1313
);
1414
return res.data;
1515
}

0 commit comments

Comments
 (0)