summaryrefslogtreecommitdiff
path: root/plugins/http/parse.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-18 18:15:09 +0300
committerValery Piashchynski <[email protected]>2020-11-18 18:15:09 +0300
commit8fab090abc369237d5f9be2ee676005b24c2a470 (patch)
tree9f7fc358b66357f0218b8256d8073616995b91db /plugins/http/parse.go
parent4ccd58fc363264d24f642ab7e0ccfe6538a0b91c (diff)
Handler test
Diffstat (limited to 'plugins/http/parse.go')
-rw-r--r--plugins/http/parse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http/parse.go b/plugins/http/parse.go
index 9b58d328..c1038725 100644
--- a/plugins/http/parse.go
+++ b/plugins/http/parse.go
@@ -60,7 +60,7 @@ func (d dataTree) mount(i []string, v []string) {
}
// parse incoming dataTree request into JSON (including contentMultipart form dataTree)
-func parseUploads(r *http.Request, cfg *UploadsConfig) *Uploads {
+func parseUploads(r *http.Request, cfg UploadsConfig) *Uploads {
u := &Uploads{
cfg: cfg,
tree: make(fileTree),