diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-11-03 01:02:36 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-11-03 01:02:36 -0700 |
commit | 515473bdcd15e706b2927ff150d2fbee7fa321d3 (patch) | |
tree | d0efbea18038c2a9d2fc8c31cc243e0ff8900869 /system/api/external.go | |
parent | fb57a155b09d7db014ac213496d21b4b43d065fe (diff) |
renaming handler and path match for api server - post => content
Diffstat (limited to 'system/api/external.go')
-rw-r--r-- | system/api/external.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/api/external.go b/system/api/external.go index 4a42eb5..c9fb2a7 100644 --- a/system/api/external.go +++ b/system/api/external.go @@ -27,7 +27,7 @@ type Mergeable interface { Approve(req *http.Request) error } -func externalPostsHandler(res http.ResponseWriter, req *http.Request) { +func externalPostHandler(res http.ResponseWriter, req *http.Request) { if req.Method != http.MethodPost { res.WriteHeader(http.StatusMethodNotAllowed) return |