Ver Fonte

Correct parameter to fixed cannot compile problem

Wayne há 6 anos atrás
pai
commit
b33f697d3f

+ 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)
     }
 
 }