Add accumulator preview reorder diagnostics
This commit is contained in:
@@ -522,6 +522,7 @@ if PromptServer is not None and web is not None:
|
||||
payload = await request.json()
|
||||
result = accumulator_delete_entries(
|
||||
store_key=str(payload.get("store_key") or ""),
|
||||
preview_key=str(payload.get("preview_key") or ""),
|
||||
entry_id=str(payload.get("entry_id") or ""),
|
||||
index=int(payload.get("index") or 0),
|
||||
clear=bool(payload.get("clear")),
|
||||
@@ -537,6 +538,7 @@ if PromptServer is not None and web is not None:
|
||||
payload = await request.json()
|
||||
result = accumulator_move_entry(
|
||||
store_key=str(payload.get("store_key") or ""),
|
||||
preview_key=str(payload.get("preview_key") or ""),
|
||||
entry_id=str(payload.get("entry_id") or ""),
|
||||
index=int(payload.get("index") or 0),
|
||||
direction=str(payload.get("direction") or "up"),
|
||||
|
||||
Reference in New Issue
Block a user