feat: ensure open in comfy ui will carry over the auth token

This commit is contained in:
bennykok
2024-01-27 11:38:10 +08:00
parent ac5aba2aa9
commit 8f7f06470c
3 changed files with 31 additions and 14 deletions
+1 -1
View File
@@ -402,7 +402,7 @@ export function OpenEditButton({
onClick={async () => {
setIsLoading(true);
const url = await callServerPromise(
editWorkflowOnMachine(workflow_version_id, machine),
editWorkflowOnMachine(machine, workflow_version_id),
);
if (url && typeof url !== "object") {
window.open(url, "_blank");