fix: Fix typo in field name

master
Abdussamet Kocak 3 years ago
parent 93af84cef8
commit 64a4814eef

@ -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)

Loading…
Cancel
Save