summaryrefslogtreecommitdiff
path: root/http/request.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-03 12:54:43 +0300
committerWolfy-J <[email protected]>2018-06-03 12:54:43 +0300
commit36ea77baa5a41de10bd604cd0e5b5b3cafaaeb64 (patch)
tree13ca8abd454a6668f490eec2e44b1520bd3953fe /http/request.go
parentb02611b7266589d888e054a1d2e4432ae370617d (diff)
service bus, http service, rpc bus, cli commands, new configs
Diffstat (limited to 'http/request.go')
-rw-r--r--http/request.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/http/request.go b/http/request.go
index 572d7d6a..516deda2 100644
--- a/http/request.go
+++ b/http/request.go
@@ -79,13 +79,13 @@ func NewRequest(r *http.Request) (req *Request, err error) {
return req, nil
}
-// OpenUploads moves all uploaded files to temporary directory so it can be given to php later.
-func (r *Request) OpenUploads(tmpDir string) error {
+// Open moves all uploaded files to temporary directory so it can be given to php later.
+func (r *Request) Open(cfg *Config) error {
if r.Uploads == nil {
return nil
}
- return r.Uploads.OpenUploads(tmpDir)
+ return r.Uploads.Open(cfg)
}
// Close clears all temp file uploads