vars: rename createFile -> persist

This commit is contained in:
DavHau
2025-01-08 11:55:12 +07:00
parent f743ec2616
commit bbe37a998f
6 changed files with 12 additions and 9 deletions

View File

@@ -32,7 +32,7 @@ class Prompt:
name=data["name"],
description=data["description"],
prompt_type=PromptType(data["type"]),
create_file=data["createFile"],
create_file=data.get("persist", data["createFile"]),
previous_value=data.get("previousValue"),
)