handle case where body is non-empty, but id is not provided

This commit is contained in:
josephrocca 2025-05-31 02:37:59 +08:00 committed by GitHub
parent 42116a1f8a
commit 5ae04fa6f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -692,6 +692,8 @@ class PromptServer():
queue_running = current_queue[0]
if len(queue_running) > 0 and queue_running[0][1] == json_data["id"]:
nodes.interrupt_processing()
else:
nodes.interrupt_processing()
else:
nodes.interrupt_processing()
return web.Response(status=200)