diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-03-15 11:02:21 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-03-15 11:02:21 -0700 |
commit | 37774dda33abe98d4d85dc62b2b8a1933ba786a0 (patch) | |
tree | bd82d9ff3cbdf634c8bec3f0f9f3f413bdad5fc0 /system/api/create.go | |
parent | 2f225325d7674a9a7594fc8cd787514e52ce0d77 (diff) |
changing API for external client interaction. Externalable -> Createable, +Deleteable, changing Hookable interface methods to conform to pattern: BeforeAPI$ACTION, etc.
Diffstat (limited to 'system/api/create.go')
-rw-r--r-- | system/api/create.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/api/create.go b/system/api/create.go index fbd00dc..3328bd6 100644 --- a/system/api/create.go +++ b/system/api/create.go @@ -27,7 +27,7 @@ type Trustable interface { AutoApprove(http.ResponseWriter, *http.Request) error } -func externalContentHandler(res http.ResponseWriter, req *http.Request) { +func createContentHandler(res http.ResponseWriter, req *http.Request) { if req.Method != http.MethodPost { res.WriteHeader(http.StatusMethodNotAllowed) return |