forcing a no-cache for the online store menus since there are no webhooks to update them

This commit is contained in:
Arash 2024-08-09 16:10:48 -07:00
parent 556aa77649
commit 4f7309b87f

View File

@ -343,7 +343,7 @@ export async function getCollections(): Promise<Collection[]> {
export async function getMenu(handle: string): Promise<Menu[]> {
const res = await shopifyFetch<ShopifyMenuOperation>({
query: getMenuQuery,
tags: [TAGS.collections],
cache: 'no-store',
variables: {
handle
}