Fix options to buildApiHandler (#5064)

* add missing taskId to buildApiHandler

* remove console log
This commit is contained in:
celestial-vault authored and GitHub committed 2025-07-21 13:56:32 -07:00
1 parent 8d5985c8fd
commit c040db6d71
3 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ export async function updateSettings(controller: Controller, request: UpdateSett
if (controller.task) {
const currentMode = await controller.getCurrentMode()
controller.task.api = buildApiHandler(apiConfiguration, currentMode)
controller.task.api = buildApiHandler({ ...apiConfiguration, taskId: controller.task.taskId }, currentMode)
}
}