Просмотр исходного кода

upload result changes to the right output variable

Chris Lu 4 лет назад
Родитель
Сommit
4b5adc60b4
1 измененных файлов с 1 добавлено и 1 удалено
  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"`