From 416b62b5aa0f6783c4fd59af6827b803240030f8 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Mon, 10 Mar 2025 13:56:54 +0100 Subject: [PATCH] Update plugins/catalog/src/apis/EntityPresentationApi/DefaultEntityPresentationApi.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Fredrik Adelöw Signed-off-by: Patrik Oldsberg --- .../apis/EntityPresentationApi/DefaultEntityPresentationApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/catalog/src/apis/EntityPresentationApi/DefaultEntityPresentationApi.ts b/plugins/catalog/src/apis/EntityPresentationApi/DefaultEntityPresentationApi.ts index 4b80820e77..199e3248b3 100644 --- a/plugins/catalog/src/apis/EntityPresentationApi/DefaultEntityPresentationApi.ts +++ b/plugins/catalog/src/apis/EntityPresentationApi/DefaultEntityPresentationApi.ts @@ -148,7 +148,7 @@ interface CacheEntry { entity: Entity | undefined; } -// Simply expory map for the data loader, which only expects a map that implements set, get, and delete and clear +// Simple expiry map for the data loader, which only expects a map that implements set, get, and delete and clear export class ExpiryMap extends Map { #ttlMs: number; #timestamps: Map = new Map();