fix(cache): revalidate storefront after admin mutations
Deploy Canina / deploy (push) Successful in 2m35s

This commit is contained in:
devops committed 2026-10-18 19:31:46 +00:00
1 parent 2e9a0e30c1
commit ff6f04fe46
7 files changed
+205 -49

No files matched your search

@@ -1,9 +1,11 @@
import { Global, Module } from "@nestjs/common";
import { APP_INTERCEPTOR } from "@nestjs/core";
import { AdminRevalidationInterceptor } from "./admin-revalidation.interceptor";
import { RevalidationService } from "./revalidation.service";
@Global()
@Module({
providers: [RevalidationService],
providers: [RevalidationService, { provide: APP_INTERCEPTOR, useClass: AdminRevalidationInterceptor }],
exports: [RevalidationService],
})
export class RevalidationModule {}