aboutsummaryrefslogtreecommitdiffstats
path: root/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'api.go')
-rw-r--r--api.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/api.go b/api.go
index 82a4817..ac1928b 100644
--- a/api.go
+++ b/api.go
@@ -63,9 +63,9 @@ type result struct {
type response struct {
Success bool `json:"success"`
- ErrorCode int `json:"errorcode",omitempty`
- Description string `json:"description",omitempty`
- Files []result `json:"files",omitempty`
+ ErrorCode int `json:"errorcode,omitempty"`
+ Description string `json:"description,omitempty"`
+ Files []result `json:"files,omitempty"`
}
func handleUpload(w http.ResponseWriter, r *http.Request) {