From 4037691c8fb74db4e66a6ad02a464b227da45e9d Mon Sep 17 00:00:00 2001 From: tito Date: Sun, 7 May 2023 11:45:18 +0200 Subject: [PATCH] fix create visited --- src/app/component/detail/detail.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/component/detail/detail.component.ts b/src/app/component/detail/detail.component.ts index 941bb41..c36f712 100755 --- a/src/app/component/detail/detail.component.ts +++ b/src/app/component/detail/detail.component.ts @@ -102,7 +102,9 @@ export class DetailComponent implements OnInit { if (user?.id !== undefined) { let waypointVisited: WaypointsVisitedEntity = {userId: user.id , waypointId: this.waypointInfo.id} console.log("waypointVisited", waypointVisited) - this.waypointVisitedService.createWaypoint(waypointVisited) + this.waypointVisitedService.createWaypoint(waypointVisited).subscribe(waypointVisited => { + console.log("waypointVisited request return", waypointVisited) + }) } }) } else {