mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-09 06:55:03 +00:00
fix/generate code auth header validation (#2490)
* geenrate code for request to include collection auth headers only if request auth is of type inherit * validations
This commit is contained in:
@@ -162,7 +162,7 @@ const prepareRequest = (request, collectionRoot, collectionPath) => {
|
||||
method: request.method,
|
||||
url,
|
||||
headers,
|
||||
pathParams: request.params.filter((param) => param.type === 'path'),
|
||||
pathParams: request?.params?.filter((param) => param.type === 'path'),
|
||||
responseType: 'arraybuffer'
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user