fix: Add API version
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ func New(services Services) *fiber.App {
|
||||
app.Get("/healthz", func(ctx *fiber.Ctx) error {
|
||||
return ctx.SendString("OK")
|
||||
})
|
||||
app.Get("/diyanet/prayertimes", func(ctx *fiber.Ctx) error {
|
||||
app.Get("/api/v1/diyanet/prayertimes", func(ctx *fiber.Ctx) error {
|
||||
locationID := ctx.Query("location_id")
|
||||
|
||||
times, err := services.PrayerTimesProvider.Get(ctx.Context(), locationID)
|
||||
|
||||
Reference in New Issue
Block a user