File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -353,12 +353,8 @@ class CollectionStateNotifier
353
353
final terminal = ref.read (terminalStateProvider.notifier);
354
354
final logId = terminal.startNetwork (
355
355
apiType: executionRequestModel.apiType,
356
- method: (executionRequestModel.apiType == APIType .ai)
357
- ? executionRequestModel.aiRequestModel! .httpRequestModel! .method
358
- : executionRequestModel.httpRequestModel! .method,
359
- url: (executionRequestModel.apiType == APIType .ai)
360
- ? executionRequestModel.aiRequestModel! .httpRequestModel! .url
361
- : executionRequestModel.httpRequestModel! .url,
356
+ method: substitutedHttpRequestModel.method,
357
+ url: substitutedHttpRequestModel.url,
362
358
requestId: requestId,
363
359
requestHeaders: substitutedHttpRequestModel.enabledHeadersMap,
364
360
requestBodyPreview: substitutedHttpRequestModel.body,
You can’t perform that action at this time.
0 commit comments