feat(commerce-backend): revalidar el storefront al crear/borrar productos #11
@@ -36,7 +36,9 @@ export default async function revalidateStorefrontHandler({
|
|||||||
|
|
||||||
export const config: SubscriberConfig = {
|
export const config: SubscriberConfig = {
|
||||||
event: [
|
event: [
|
||||||
|
"product.created",
|
||||||
"product.updated",
|
"product.updated",
|
||||||
|
"product.deleted",
|
||||||
"product-variant.updated",
|
"product-variant.updated",
|
||||||
"product-variant.created",
|
"product-variant.created",
|
||||||
"product-variant.deleted",
|
"product-variant.deleted",
|
||||||
|
|||||||
Reference in New Issue
Block a user