Skip to content

Commit cb23c57

Browse files
authored
Fix loading stats with new auth token (#1221)
1 parent 17a27f8 commit cb23c57

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/views/Stats.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,10 @@ export default {
156156
await this.$store.dispatch("plays/index");
157157
},
158158
async loadPlayStats() {
159-
const gen = $api.plays.stats(this.$store.state.auth, this.playStatsScope);
159+
const gen = $api.plays.stats(
160+
this.$store.state.auth.apiToken,
161+
this.playStatsScope,
162+
);
160163
let done = false;
161164
let results = [];
162165
while (!done) {

0 commit comments

Comments
 (0)