mirror of
https://github.com/foss42/apidash.git
synced 2025-12-03 19:39:25 +08:00
feat: add support for env vars
This commit is contained in:
@@ -353,12 +353,8 @@ class CollectionStateNotifier
|
|||||||
final terminal = ref.read(terminalStateProvider.notifier);
|
final terminal = ref.read(terminalStateProvider.notifier);
|
||||||
final logId = terminal.startNetwork(
|
final logId = terminal.startNetwork(
|
||||||
apiType: executionRequestModel.apiType,
|
apiType: executionRequestModel.apiType,
|
||||||
method: (executionRequestModel.apiType == APIType.ai)
|
method: substitutedHttpRequestModel.method,
|
||||||
? executionRequestModel.aiRequestModel!.httpRequestModel!.method
|
url: substitutedHttpRequestModel.url,
|
||||||
: executionRequestModel.httpRequestModel!.method,
|
|
||||||
url: (executionRequestModel.apiType == APIType.ai)
|
|
||||||
? executionRequestModel.aiRequestModel!.httpRequestModel!.url
|
|
||||||
: executionRequestModel.httpRequestModel!.url,
|
|
||||||
requestId: requestId,
|
requestId: requestId,
|
||||||
requestHeaders: substitutedHttpRequestModel.enabledHeadersMap,
|
requestHeaders: substitutedHttpRequestModel.enabledHeadersMap,
|
||||||
requestBodyPreview: substitutedHttpRequestModel.body,
|
requestBodyPreview: substitutedHttpRequestModel.body,
|
||||||
|
|||||||
Reference in New Issue
Block a user