aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/actions/actions.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/actions/actions.go')
-rw-r--r--routers/api/actions/actions.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/routers/api/actions/actions.go b/routers/api/actions/actions.go
index bdcac41206..a418b3a1c4 100644
--- a/routers/api/actions/actions.go
+++ b/routers/api/actions/actions.go
@@ -4,7 +4,6 @@
package actions
import (
- "context"
"net/http"
"code.gitea.io/gitea/modules/web"
@@ -12,7 +11,7 @@ import (
"code.gitea.io/gitea/routers/api/actions/runner"
)
-func Routes(_ context.Context, prefix string) *web.Route {
+func Routes(prefix string) *web.Route {
m := web.NewRoute()
path, handler := ping.NewPingServiceHandler()