get right userstory

This commit is contained in:
Michael
2020-06-30 16:36:47 +02:00
parent e99e0aeb69
commit e74325b558
2 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ export class TaskFormComponent implements OnInit {
}
getRelatedStory() {
this.backendService.getUserstory(2).subscribe((response) => {
this.backendService.getUserstory(this.task.userstoryid).subscribe((response) => {
if (response.status > 399) {
alert('Fehler');
} else {