We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4469e1 commit 6a3c056Copy full SHA for 6a3c056
src/models/hasTimes.js
@@ -34,7 +34,7 @@ class hasTimes extends Base {
34
*/
35
getStats() {
36
let promise = this.get(`projects/${this.data.project_id}/${this._type}/${this.iid}/time_stats`);
37
- promise.then(response => response.json()).then(response => this.stats = response);
+ promise.then(response => this.stats = response.body);
38
39
return promise;
40
}
0 commit comments