MCPcopy
hub / github.com/jamstack-cms/jamstack-ecommerce / fetchInventory

Function fetchInventory

utils/inventoryProvider.js:18–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16*/
17
18async function fetchInventory() {
19 // const inventory = API.get(apiUrl)
20 return Promise.resolve(inventory)
21}
22
23export {
24 fetchInventory, inventory as staticInventory

Callers 6

ViewInventory.jsFile · 0.90
inventoryForCategoryFunction · 0.90
index.jsFile · 0.90
categories.jsFile · 0.90
getStaticPathsFunction · 0.90
getStaticPropsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected