✏️(project) fix minor typos

Found typos and fixed them.
This commit is contained in:
Lebaud Antoine
2024-02-02 15:36:24 +01:00
committed by aleb_the_flash
parent ec2fcaa1dd
commit c117f67952
7 changed files with 14 additions and 14 deletions

View File

@@ -140,7 +140,7 @@ class Contact(BaseModel):
try:
jsonschema.validate(self.data, contact_schema)
except jsonschema.ValidationError as e:
# Specify the property in the data in which the error occured
# Specify the property in the data in which the error occurred
field_path = ".".join(map(str, e.path))
error_message = f"Validation error in '{field_path:s}': {e.message}"
raise exceptions.ValidationError({"data": [error_message]}) from e