From 42dc67eaf6ae312711bd7e2f781aa085aea0f02a Mon Sep 17 00:00:00 2001 From: Yazeed Loonat Date: Tue, 9 Jan 2024 12:39:50 -0700 Subject: [PATCH] fix: on listing create, add to cache (#3797) --- backend/core/src/listings/listings.service.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/core/src/listings/listings.service.ts b/backend/core/src/listings/listings.service.ts index f783e35921..e1e556c68a 100644 --- a/backend/core/src/listings/listings.service.ts +++ b/backend/core/src/listings/listings.service.ts @@ -128,6 +128,11 @@ export class ListingsService { jurisId: listing.jurisdiction.id, }) } + await this.cachePurgeService.cachePurgeForSingleListing( + ListingStatus.closed, + listing.status, + saveResponse + ) return saveResponse }