diff options
Diffstat (limited to 'gogs.patch')
| -rw-r--r-- | gogs.patch | 17 |
1 files changed, 17 insertions, 0 deletions
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() { + |
