From 8c9c1942f6b5675cfca802e2f707bef3c217afbf Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 18 Mar 2016 16:44:54 +0100 Subject: Change name of fields for add video api --- client/angular/videos/components/add/videos-add.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/angular/videos/components/add/videos-add.component.ts') diff --git a/client/angular/videos/components/add/videos-add.component.ts b/client/angular/videos/components/add/videos-add.component.ts index 9926aed63..0004cfa20 100644 --- a/client/angular/videos/components/add/videos-add.component.ts +++ b/client/angular/videos/components/add/videos-add.component.ts @@ -22,7 +22,7 @@ export class VideosAddComponent implements OnInit { constructor(private _router: Router, private _elementRef: ElementRef) {} ngOnInit() { - jQuery(this._elementRef.nativeElement).find('#input_video').fileupload({ + jQuery(this._elementRef.nativeElement).find('#videofile').fileupload({ url: '/api/v1/videos', dataType: 'json', singleFileUploads: true, -- cgit v1.2.3