We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c31ede4 commit d2b13d5Copy full SHA for d2b13d5
app/schemas.py
@@ -56,8 +56,8 @@ def from_db(db_entry: models.School) -> School:
56
return School.model_validate(db_entry)
57
shape = to_shape(db_entry.location)
58
school = School.model_validate(db_entry)
59
- school.latitude = shape.x
60
- school.longitude = shape.y
+ school.latitude = shape.y
+ school.longitude = shape.x
61
return school
62
63
0 commit comments