summaryrefslogtreecommitdiff
path: root/system/api/create.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-03-15 11:02:21 -0700
committerSteve Manuel <nilslice@gmail.com>2017-03-15 11:02:21 -0700
commit37774dda33abe98d4d85dc62b2b8a1933ba786a0 (patch)
treebd82d9ff3cbdf634c8bec3f0f9f3f413bdad5fc0 /system/api/create.go
parent2f225325d7674a9a7594fc8cd787514e52ce0d77 (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.go2
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