diff --git a/pkg/api/handlers/threads.go b/pkg/api/handlers/threads.go index f63b9662..e5c7385a 100644 --- a/pkg/api/handlers/threads.go +++ b/pkg/api/handlers/threads.go @@ -61,7 +61,7 @@ func (a *ThreadHandler) Events(req api.Context) error { var ( id = req.PathValue("id") follow = req.URL.Query().Get("follow") == "true" - followWorkflows = req.URL.Query().Get("followWorflows") == "true" + followWorkflows = req.URL.Query().Get("followWorkflows") == "true" runID = req.URL.Query().Get("runID") maxRunString = req.URL.Query().Get("maxRuns") maxRuns int diff --git a/pkg/controller/handlers/oauthapp/oauthapplogin.go b/pkg/controller/handlers/oauthapp/oauthapplogin.go index e8116ae8..85a58a15 100644 --- a/pkg/controller/handlers/oauthapp/oauthapplogin.go +++ b/pkg/controller/handlers/oauthapp/oauthapplogin.go @@ -116,7 +116,7 @@ outer: } } - tick.Reset(5 * time.Second) + tick.Reset(time.Second) } }