summaryrefslogtreecommitdiffstats
path: root/api4/job.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/job.go')
-rw-r--r--api4/job.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/api4/job.go b/api4/job.go
index 2a5134cd3..864d21bbb 100644
--- a/api4/job.go
+++ b/api4/job.go
@@ -6,13 +6,10 @@ package api4
import (
"net/http"
- l4g "github.com/alecthomas/log4go"
"github.com/mattermost/mattermost-server/model"
)
func (api *API) InitJob() {
- l4g.Info("Initializing job API routes")
-
api.BaseRoutes.Jobs.Handle("", api.ApiSessionRequired(getJobs)).Methods("GET")
api.BaseRoutes.Jobs.Handle("", api.ApiSessionRequired(createJob)).Methods("POST")
api.BaseRoutes.Jobs.Handle("/{job_id:[A-Za-z0-9]+}", api.ApiSessionRequired(getJob)).Methods("GET")