Update products.ts

This commit is contained in:
Catalin Pinte 2023-01-31 08:22:05 +02:00
parent d1d9e8c434
commit 8d4a27c7d4

View File

@ -26,11 +26,6 @@ const productsEndpoint: GetAPISchema<
const res = await handlers['getProducts']({ ...ctx, body })
res.headers = {
'Cache-Control': 'max-age=0, s-maxage=3600, stale-while-revalidate, public',
...res.headers,
}
return parse(res, searchProductsSchema)
}