🐛 remove admin component request

This commit is contained in:
tykayn 2020-04-25 12:54:56 +02:00
parent c45137ee79
commit 4ec9091233
2 changed files with 1455 additions and 616 deletions

View File

@ -45,17 +45,17 @@ export class AdminComponent implements OnInit {
const headers = this.utils.makeHeaders({ token: token });
this.config.loading = true;
// store it in the poll property here
this.http.get(`${environment.baseApiHref}/admin/${token}`, headers).subscribe(
(res: any) => {
console.log('res', res);
this.config.updateCurrentPollFromResponse(res);
this.config.loading = false;
},
(e) => {
// handle need for a password
console.log('e', e);
this.config.handleError(e);
}
);
// this.http.get(`${environment.baseApiHref}/admin/${token}`, headers).subscribe(
// (res: any) => {
// console.log('res', res);
// this.config.updateCurrentPollFromResponse(res);
// this.config.loading = false;
// },
// (e) => {
// // handle need for a password
// console.log('e', e);
// this.config.handleError(e);
// }
// );
}
}

2047
yarn.lock

File diff suppressed because it is too large Load Diff