Fix options to buildApiHandler (#5064)
* add missing taskId to buildApiHandler * remove console log
This commit is contained in:
1 parent
8d5985c8fd
commit
c040db6d71
3 files changed
+5
-4
No files matched your search
@@ -30,7 +30,7 @@ export async function updateApiConfigurationProto(
|
||||
// Update the task's API handler if there's an active task
|
||||
if (controller.task) {
|
||||
const currentMode = await controller.getCurrentMode()
|
||||
controller.task.api = buildApiHandler(appApiConfiguration, currentMode)
|
||||
controller.task.api = buildApiHandler({ ...appApiConfiguration, taskId: controller.task.taskId }, currentMode)
|
||||
}
|
||||
|
||||
// Post updated state to webview
|
||||
|
||||
Reference in new issue
Block a user