Skip to content

Commit

Permalink
fix: on listing create, add to cache (#3797)
Browse files Browse the repository at this point in the history
  • Loading branch information
YazeedLoonat authored Jan 9, 2024
1 parent d86b61b commit 42dc67e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend/core/src/listings/listings.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ export class ListingsService {
jurisId: listing.jurisdiction.id,
})
}
await this.cachePurgeService.cachePurgeForSingleListing(
ListingStatus.closed,
listing.status,
saveResponse
)
return saveResponse
}

Expand Down

0 comments on commit 42dc67e

Please sign in to comment.