diff options
author | Wolfy-J <[email protected]> | 2020-12-15 11:30:17 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2020-12-15 11:30:17 +0300 |
commit | 38892b66030e085ab78096df292f5cb964830fe2 (patch) | |
tree | 8952d37055f7dea624b647d553c8093ee5bdfaab /plugins/http | |
parent | cd5a6098b7d671c0fa980f0923f8d6d3733faf68 (diff) |
- fixing tests
Diffstat (limited to 'plugins/http')
-rw-r--r-- | plugins/http/uploads.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/http/uploads.go b/plugins/http/uploads.go index 5fddb75d..aeb41591 100644 --- a/plugins/http/uploads.go +++ b/plugins/http/uploads.go @@ -18,13 +18,13 @@ const ( UploadErrorNoFile = 4 // UploadErrorNoTmpDir - missing a temporary folder. - UploadErrorNoTmpDir = 5 + UploadErrorNoTmpDir = 6 // UploadErrorCantWrite - failed to write file to disk. - UploadErrorCantWrite = 6 + UploadErrorCantWrite = 7 // UploadErrorExtension - forbidden file extension. - UploadErrorExtension = 7 + UploadErrorExtension = 8 ) // Uploads tree manages uploaded files tree and temporary files. |