Clean up code and add logging framework for backend
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-06-02 10:33:59 +02:00
parent bb828386b9
commit aa1c3d1464
6 changed files with 262 additions and 119 deletions

View File

@@ -13,7 +13,6 @@ export default class UserStatsService {
async getStats(): Promise<TableEntry[]> {
return fetch(this.apiURL, this.requestInit)
.then(res => { console.log(res); return res; })
.then(res => this.checkResponse(res))
.then(data => data.json())
}