瀏覽代碼

Correct parameter to fixed cannot compile problem

Wayne 6 年之前
父節點
當前提交
b33f697d3f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/bomostory/sceneeditmodule/screen/movie/MovieEditViewModel.kt

+ 1 - 1
src/main/java/com/bomostory/sceneeditmodule/screen/movie/MovieEditViewModel.kt

@@ -113,7 +113,7 @@ class MovieEditViewModel : ViewModel() {
         val category = 0
         val filePart = MultipartBody.Part.createFormData("file", file.name, RequestBody.create(MediaType.parse("video/*"), file))
         return BoMoCloud(id, secret).videoService
-                .uploadVideo(id, secret, author, name, category, filePart)
+                .uploadVideo(author, name, category, filePart)
     }
 
 }