summaryrefslogtreecommitdiff
path: root/plugins/http
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2020-12-15 11:30:17 +0300
committerWolfy-J <[email protected]>2020-12-15 11:30:17 +0300
commit38892b66030e085ab78096df292f5cb964830fe2 (patch)
tree8952d37055f7dea624b647d553c8093ee5bdfaab /plugins/http
parentcd5a6098b7d671c0fa980f0923f8d6d3733faf68 (diff)
- fixing tests
Diffstat (limited to 'plugins/http')
-rw-r--r--plugins/http/uploads.go6
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.