mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
🐛 remove admin component request
This commit is contained in:
parent
c45137ee79
commit
4ec9091233
@ -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);
|
||||
// }
|
||||
// );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user