avancement dans la connexion du back avec la partie user
This commit is contained in:
parent
7030a0ea21
commit
7444715b2f
11 changed files with 121 additions and 168 deletions
|
|
@ -96,7 +96,7 @@ export class PageHistoryUserComponent implements AfterViewInit
|
|||
onVideo(video: VideoAll): void
|
||||
{
|
||||
this.messageService
|
||||
.put("video/update/"+video._id, { watchedDate: true})
|
||||
.put("video/update/"+video._id, {watchedDate: true})
|
||||
.subscribe(ret => this.onVideoCallback(ret), err => this.onVideoCallback(err));
|
||||
|
||||
const url = '/user/watching/fromHistory/'+video.videoId+'/'+video.source ;
|
||||
|
|
|
|||
Reference in a new issue