fix: Add API version

This commit is contained in:
2023-03-04 23:35:30 +01:00
parent 02175499da
commit c04edf7dc5
+1 -1
View File
@@ -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)