diff options
author | Wolfy-J <[email protected]> | 2018-06-03 12:54:43 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-03 12:54:43 +0300 |
commit | 36ea77baa5a41de10bd604cd0e5b5b3cafaaeb64 (patch) | |
tree | 13ca8abd454a6668f490eec2e44b1520bd3953fe /http/request.go | |
parent | b02611b7266589d888e054a1d2e4432ae370617d (diff) |
service bus, http service, rpc bus, cli commands, new configs
Diffstat (limited to 'http/request.go')
-rw-r--r-- | http/request.go | 6 |
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 |