chore: fix typos

Signed-off-by: snoppy <michaleli@foxmail.com>
This commit is contained in:
snoppy 2024-06-21 09:52:02 +08:00
parent feee37d75f
commit 13f22974a4
No known key found for this signature in database
GPG key ID: 3BD0415EDC5AD262
6 changed files with 6 additions and 6 deletions

View file

@ -372,7 +372,7 @@ class Api:
return {}
possible_fields = infotext_utils.paste_fields[tabname]["fields"]
set_fields = request.model_dump(exclude_unset=True) if hasattr(request, "request") else request.dict(exclude_unset=True) # pydantic v1/v2 have differenrt names for this
set_fields = request.model_dump(exclude_unset=True) if hasattr(request, "request") else request.dict(exclude_unset=True) # pydantic v1/v2 have different names for this
params = infotext_utils.parse_generation_parameters(request.infotext)
def get_field_value(field, params):