Fixed typo in error message.
This commit is contained in:
parent
710b14187e
commit
32b0774053
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ def validate_model_fields(model: Type["RedisModel"], field_values: Dict[str, Any
|
|||
if not hasattr(obj, sub_field):
|
||||
raise QuerySyntaxError(
|
||||
f"The update path {field_name} contains a field that does not "
|
||||
f"exit on {model.__name__}. The field is: {sub_field}"
|
||||
f"exist on {model.__name__}. The field is: {sub_field}"
|
||||
)
|
||||
obj = getattr(obj, sub_field)
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue