diff options
author | Unknwon <u@gogs.io> | 2018-12-02 12:55:05 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-12-02 12:55:05 -0500 |
commit | e1b3a250085195122c3b41b998504692f47fcb63 (patch) | |
tree | 40614fe982572c95f401af688c7d4d1617921ae8 /routes/api/v1/api.go | |
parent | 69c1cd3f381b19b988a6af51a8e38303f216b001 (diff) |
api/repo: support edit repository issue tracker (gogs/go-gogs-client#94)
Diffstat (limited to 'routes/api/v1/api.go')
-rw-r--r-- | routes/api/v1/api.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routes/api/v1/api.go b/routes/api/v1/api.go index 3ac5ef98..2fb2ebb0 100644 --- a/routes/api/v1/api.go +++ b/routes/api/v1/api.go @@ -293,6 +293,8 @@ func RegisterRoutes(m *macaron.Macaron) { Patch(reqRepoWriter(), bind(api.EditMilestoneOption{}), repo.EditMilestone). Delete(reqRepoWriter(), repo.DeleteMilestone) }) + + m.Patch("/issue-tracker", bind(api.EditIssueTrackerOption{}), repo.IssueTracker) m.Post("/mirror-sync", repo.MirrorSync) m.Get("/editorconfig/:filename", context.RepoRef(), repo.GetEditorconfig) }, repoAssignment()) |