avancement dans la connexion du back avec la partie user

This commit is contained in:
MiharyR 2021-12-14 01:28:50 +01:00
parent 7030a0ea21
commit 7444715b2f
11 changed files with 121 additions and 168 deletions

View file

@ -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 ;