From ac2f3f33f7f99e4d22588ffaf77a1e01bc4dbc15 Mon Sep 17 00:00:00 2001 From: Dylan Jeffers Date: Mon, 3 Apr 2023 19:45:14 -0700 Subject: [PATCH] Fix discover-node-selector response (#5043) --- libs/src/services/discoveryProvider/DiscoveryProvider.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/src/services/discoveryProvider/DiscoveryProvider.ts b/libs/src/services/discoveryProvider/DiscoveryProvider.ts index 1a2505d3060..a93e0094c8c 100644 --- a/libs/src/services/discoveryProvider/DiscoveryProvider.ts +++ b/libs/src/services/discoveryProvider/DiscoveryProvider.ts @@ -1464,7 +1464,8 @@ export class DiscoveryProvider { response })) ?? response - return response as unknown as DiscoveryResponse + const responseBody: DiscoveryResponse = await response.json() + return responseBody } /**