Skip to content
Merged
Prev Previous commit
Next Next commit
Drop redundant ComfyApiWorkflow cast
  • Loading branch information
christian-byrne committed Dec 13, 2025
commit 2c76be90fc42236e5155af9e96ec98ba959a59b4
2 changes: 1 addition & 1 deletion src/scripts/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,7 @@ export class ComfyApp {
const promptObj =
typeof prompt === 'string' ? JSON.parse(prompt) : prompt
if (this.isApiJson(promptObj)) {
this.loadApiJson(promptObj as ComfyApiWorkflow, fileName)
this.loadApiJson(promptObj, fileName)
return
}
} catch (err) {
Expand Down
Loading