From 1bbfa40ae4554bf3bd867d3c0cfc1c83a1f05309 Mon Sep 17 00:00:00 2001 From: Siddharth Gelera Date: Wed, 17 Sep 2025 13:19:18 +0530 Subject: [PATCH] fix: correct fallback for URL retrieval in bruRequestToJson --- packages/bruno-filestore/src/formats/bru/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bruno-filestore/src/formats/bru/index.ts b/packages/bruno-filestore/src/formats/bru/index.ts index df83a88a1..36ed8afc1 100644 --- a/packages/bruno-filestore/src/formats/bru/index.ts +++ b/packages/bruno-filestore/src/formats/bru/index.ts @@ -49,7 +49,7 @@ export const bruRequestToJson = (data: string | any, parsed: boolean = false): a requestType === 'grpc-request' ? _.get(json, 'grpc.method', '') : String(_.get(json, 'http.method') ?? '').toUpperCase(), - url: _.get(json, urlPath[requestType], urlPath.default), + url: _.get(json, urlPath[requestType], _.get(json, urlPath.default)), headers: ['grpc-request','ws-request'].includes(requestType) ? _.get(json, 'metadata', []) : _.get(json, 'headers', []), auth: _.get(json, 'auth', {}), body: _.get(json, 'body', {}),