Skip to content

Commit

Permalink
fix item apis
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-iaco committed Oct 22, 2024
1 parent 05e0abb commit e4df3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/itemApis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const addItem = async (item: Item, controller: AbortController) => {
}

export const addShoppingItemList = async (shoppingItemList: ShoppingItem[], pantryId: string, controller: AbortController) => {
const url = `${baseUrl}/item/all`;
const url = `${baseUrl}/item/all?pantryId=${pantryId}`;
const token = await getFirebaseUserToken()
const request = {
shoppingItems: shoppingItemList
Expand Down

0 comments on commit e4df3c3

Please sign in to comment.