summaryrefslogtreecommitdiff
path: root/system/admin/handlers.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-29 17:52:56 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-29 17:52:56 -0700
commited4c47babef56f18df0a5b393b0c0fe79e659105 (patch)
treebe87d550a59cd6852f49dc7ea06df1e990045820 /system/admin/handlers.go
parent391229f645225d958dda3c6d7846443ee27511b6 (diff)
adding db procedures and updating handler for external submissions / pending content
Diffstat (limited to 'system/admin/handlers.go')
-rw-r--r--system/admin/handlers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go
index 8e52e91..ce07c4c 100644
--- a/system/admin/handlers.go
+++ b/system/admin/handlers.go
@@ -869,7 +869,7 @@ func editHandler(res http.ResponseWriter, req *http.Request) {
req.PostForm.Set("updated", ts)
}
- urlPaths, err := storeFileUploads(req)
+ urlPaths, err := StoreFileUploads(req)
if err != nil {
log.Println(err)
res.WriteHeader(http.StatusInternalServerError)
@@ -971,7 +971,7 @@ func editUploadHandler(res http.ResponseWriter, req *http.Request) {
return
}
- urlPaths, err := storeFileUploads(req)
+ urlPaths, err := StoreFileUploads(req)
if err != nil {
log.Println("Couldn't store file uploads.", err)
res.WriteHeader(http.StatusInternalServerError)