Skip to content

Commit

Permalink
chore: remove redundant condition on network.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsSudip committed Jun 14, 2024
1 parent 1e1f87e commit fe87faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit fe87faa

Please sign in to comment.