From 9f0c6e30cfea1c1b9f24fe0ee5811ace24d304b6 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Mon, 18 Feb 2019 16:33:04 -0500 Subject: Initial --- gogs.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 gogs.patch (limited to 'gogs.patch') diff --git a/gogs.patch b/gogs.patch new file mode 100644 index 0000000..e326f95 --- /dev/null +++ b/gogs.patch @@ -0,0 +1,17 @@ +diff --git a/routes/api/v1/api.go b/routes/api/v1/api.go +index d73f57f3..a1658ac3 100644 +--- a/routes/api/v1/api.go ++++ b/routes/api/v1/api.go +@@ -182,6 +182,11 @@ func RegisterRoutes(m *macaron.Macaron) { + m.Group("/users", func() { + m.Group("/:username", func() { + m.Get("/keys", user.ListPublicKeys) ++ }) ++ }) ++ ++ m.Group("/users", func() { ++ m.Group("/:username", func() { + + m.Get("/followers", user.ListFollowers) + m.Group("/following", func() { + -- cgit v1.2.3