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