DEV: Rename variable to avoid conflict

This commit is contained in:
David Taylor
2019-06-11 13:02:40 +01:00
parent f1d5b992bf
commit f4fd75aea4

View File

@ -154,11 +154,12 @@ export default class {
} }
}) })
.then(() => { .then(() => {
if (controller) { const topicController = this._topicController;
if (topicController) {
const postNumbers = Object.keys(newTimings).map(v => const postNumbers = Object.keys(newTimings).map(v =>
parseInt(v, 10) parseInt(v, 10)
); );
controller.readPosts(topicId, postNumbers); topicController.readPosts(topicId, postNumbers);
} }
}) })
.catch(e => { .catch(e => {