From 282ead581acb356731c21564cc20518ae09a8826 Mon Sep 17 00:00:00 2001 From: David Tsay Date: Mon, 14 Mar 2022 11:21:04 -0700 Subject: [PATCH] object get in onWorkerMessage call should use identifier --- src/api/objects/InMemorySearchProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/objects/InMemorySearchProvider.js b/src/api/objects/InMemorySearchProvider.js index 9168fb6efb..b16ad5f18b 100644 --- a/src/api/objects/InMemorySearchProvider.js +++ b/src/api/objects/InMemorySearchProvider.js @@ -137,7 +137,7 @@ class InMemorySearchProvider { }; modelResults.hits = await Promise.all(event.data.results.map(async (hit) => { const identifier = this.openmct.objects.parseKeyString(hit.keyString); - const domainObject = await this.openmct.objects.get(identifier.key); + const domainObject = await this.openmct.objects.get(identifier); return domainObject; }));