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