mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-25 05:35:41 +00:00
fix: retrieve auth value correctly
This commit is contained in:
@@ -78,7 +78,7 @@ export const bruRequestToJson = (data: string | any, parsed: boolean = false): a
|
||||
])
|
||||
});
|
||||
} else if (requestType === 'ws-request') {
|
||||
transformedJson.request.auth.mode = _.get(json, 'grpc.auth', 'none');
|
||||
transformedJson.request.auth.mode = _.get(json, 'ws.auth', 'none');
|
||||
transformedJson.request.body = _.get(json, 'body', {
|
||||
mode: 'ws',
|
||||
grpc: _.get(json, 'body.ws', [
|
||||
|
||||
Reference in New Issue
Block a user