fix: Fix typo in field name
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ func New(services Services) *fiber.App {
|
||||
} else if err := ctx.QueryParser(&loc); err == nil {
|
||||
times, err = services.LocationTimesProvider.GetByCoords(ctx.Context(), prayer.Coordinates{
|
||||
Latitude: loc.Latitude,
|
||||
Longitude: loc.Latitude,
|
||||
Longitude: loc.Longitude,
|
||||
})
|
||||
} else {
|
||||
return fmt.Errorf("%w: missing location id or coordinates", fiber.ErrBadRequest)
|
||||
|
||||
Reference in New Issue
Block a user