Get Userstory by ID

This commit is contained in:
Nicolai Ort 2020-06-22 16:34:57 +02:00
parent aba077cc14
commit 3461103930

View File

@ -58,9 +58,13 @@ export class TaskFormComponent implements OnInit {
}
getRelatedStory(): any{
console.log(this.backendService.getUserstory(1));
this.backendService.getUserstory(1).subscribe(response => {
if (response.status > 399) {
alert('Fehler');
}
else {
console.log(response);
}
});
}
}