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{ getRelatedStory(): any{
this.backendService.getUserstory(1).subscribe(response => {
console.log(this.backendService.getUserstory(1)); if (response.status > 399) {
alert('Fehler');
}
else {
console.log(response);
}
});
} }
} }