docs: Set cache to no-cache in digital product examples (#13778)
Fixes medusajs/medusa#13687
This commit is contained in:
@@ -2922,7 +2922,7 @@ export const getCustomerDigitalProducts = async () => {
|
|||||||
|
|
||||||
headers,
|
headers,
|
||||||
next,
|
next,
|
||||||
cache: "force-cache",
|
cache: "no-cache",
|
||||||
})
|
})
|
||||||
|
|
||||||
return digital_products as DigitalProduct[]
|
return digital_products as DigitalProduct[]
|
||||||
@@ -3100,7 +3100,7 @@ export const getDigitalMediaDownloadLink = async (mediaId: string) => {
|
|||||||
method: "POST",
|
method: "POST",
|
||||||
headers,
|
headers,
|
||||||
next,
|
next,
|
||||||
cache: "force-cache",
|
cache: "no-cache",
|
||||||
})
|
})
|
||||||
|
|
||||||
return url
|
return url
|
||||||
|
|||||||
Reference in New Issue
Block a user