Skip to content

Commit 0f075c1

Browse files
Fix search is Get
Signed-off-by: David Svantesson <[email protected]>
1 parent 2476663 commit 0f075c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/api/v1/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ func RegisterRoutes(m *macaron.Macaron) {
805805
m.Group("/teams", func() {
806806
m.Combo("", reqToken()).Get(org.ListTeams).
807807
Post(reqOrgOwnership(), bind(api.CreateTeamOption{}), org.CreateTeam)
808-
m.Post("/search", org.SearchTeam)
808+
m.Get("/search", org.SearchTeam)
809809
}, reqOrgMembership())
810810
m.Group("/hooks", func() {
811811
m.Combo("").Get(org.ListHooks).

0 commit comments

Comments
 (0)