Skip to content

Commit 9935185

Browse files
FiveTwenty AWS Bastionnorman-abramovitz
authored andcommitted
Fix http route for timezone request
1 parent 81f4577 commit 9935185

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

http/routes/routes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ import (
99
func Apply(e *echo.Echo, services *core.Services) {
1010
Jobs(e, services)
1111
Calls(e, services)
12+
Timezones(e, services)
1213
}

http/routes/timezones.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type timezoneCollection struct {
1717
func Timezones(e *echo.Echo, services *core.Services) {
1818
// Get server timezones
1919
// GET /timezones
20-
e.GET("/timezones", func(c echo.Context) error {
20+
e.GET("/scheduler-time-zones", func(c echo.Context) error {
2121
tag := "timezones"
2222
services.Logger.Info(tag, "trying to get timezones")
2323

0 commit comments

Comments
 (0)