[DEBUG] correct series ID
This commit is contained in:
parent
15c3b5f71e
commit
4c45f403a3
@ -266,6 +266,7 @@ public class VideoResource {
|
||||
public Response uploadFile(@FormDataParam("fileName") String fileName,
|
||||
@FormDataParam("universe") String universe,
|
||||
@FormDataParam("series") String series,
|
||||
//@FormDataParam("seriesId") String seriesId, Not used ...
|
||||
@FormDataParam("season") String season,
|
||||
@FormDataParam("episode") String episode,
|
||||
@FormDataParam("title") String title,
|
||||
|
@ -64,14 +64,14 @@ export class VideoService {
|
||||
typeId?:number,
|
||||
progress:any = null) {
|
||||
const formData = new FormData();
|
||||
formData.append('file_name', file.name);
|
||||
formData.append('fileName', file.name);
|
||||
// set the file at hte begining it will permit to abort the transmission
|
||||
formData.append('file', file?? null);
|
||||
formData.append('universe', universe?? null);
|
||||
if(seriesId !== null) {
|
||||
formData.append('series', seriesId.toString());
|
||||
formData.append('seriesId', seriesId.toString());
|
||||
} else {
|
||||
formData.append('series', null);
|
||||
formData.append('seriesId', null);
|
||||
}
|
||||
formData.append('series', series?? null);
|
||||
if(season !== null) {
|
||||
|
Loading…
Reference in New Issue
Block a user