diff --git a/internal/api/api.go b/internal/api/api.go index dbb6d7c..e0e0252 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -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)