From fe87faac95794c69f06f3b4cd0254cbc8062094d Mon Sep 17 00:00:00 2001 From: ItsSudip Date: Fri, 14 Jun 2024 14:26:08 +0530 Subject: [PATCH] chore: remove redundant condition on network.js --- src/adapters/network.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adapters/network.js b/src/adapters/network.js index ca880d4536..850ba649c8 100644 --- a/src/adapters/network.js +++ b/src/adapters/network.js @@ -94,7 +94,7 @@ const fireHTTPStats = (clientResponse, startTime, statTags) => { startTime, clientResponse, }; - if (statTags?.metadata && !Array.isArray(statTags?.metadata)) { + if (statTags?.metadata) { const metadata = !Array.isArray(statTags?.metadata) ? [statTags.metadata] : statTags.metadata; metadata?.forEach((m) => { fireOutgoingReqStats({