diff options
Diffstat (limited to 'plugins/http/uploads.go')
-rw-r--r-- | plugins/http/uploads.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/http/uploads.go b/plugins/http/uploads.go index c936262a..5fddb75d 100644 --- a/plugins/http/uploads.go +++ b/plugins/http/uploads.go @@ -1,7 +1,6 @@ package http import ( - json "github.com/json-iterator/go" "github.com/spiral/roadrunner/v2/interfaces/log" "io" @@ -42,8 +41,7 @@ type Uploads struct { // MarshalJSON marshal tree tree into JSON. func (u *Uploads) MarshalJSON() ([]byte, error) { - j := json.ConfigCompatibleWithStandardLibrary - return j.Marshal(u.tree) + return json.Marshal(u.tree) } // Open moves all uploaded files to temp directory, return error in case of issue with temp directory. File errors |