docs: Set cache to no-cache in digital product examples (#13778)

Fixes medusajs/medusa#13687
This commit is contained in:
Mayuresh-1306
2025-10-20 06:08:30 +00:00
committed by GitHub
parent 2d45ba7be1
commit 1b6e53f032
@@ -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