Get Userstory by ID
This commit is contained in:
parent
aba077cc14
commit
3461103930
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user