Browse Source

upload result changes to the right output variable

Chris Lu 4 years ago
parent
commit
4b5adc60b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      weed/operation/submit.go

+ 1 - 1
weed/operation/submit.go

@@ -32,7 +32,7 @@ type FilePart struct {
 
 type SubmitResult struct {
 	FileName string `json:"fileName,omitempty"`
-	FileUrl  string `json:"fileUrl,omitempty"`
+	FileUrl  string `json:"url,omitempty"`
 	Fid      string `json:"fid,omitempty"`
 	Size     uint32 `json:"size,omitempty"`
 	Error    string `json:"error,omitempty"`