diff options
Diffstat (limited to 'api.go')
-rw-r--r-- | api.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) { |