aboutsummaryrefslogtreecommitdiff
path: root/gogs.patch
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2019-02-18 16:33:04 -0500
committerMitch Riedstra <mitch@riedstra.us>2019-02-18 16:33:04 -0500
commit9f0c6e30cfea1c1b9f24fe0ee5811ace24d304b6 (patch)
tree7107476dc1e62b0145e2a71a37cd050d2a8ec54a /gogs.patch
downloadsshauth-9f0c6e30cfea1c1b9f24fe0ee5811ace24d304b6.tar.gz
sshauth-9f0c6e30cfea1c1b9f24fe0ee5811ace24d304b6.tar.xz
Initial
Diffstat (limited to 'gogs.patch')
-rw-r--r--gogs.patch17
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() {
+