diff --git a/print/templates/reports/extra-community/extra-community.js b/print/templates/reports/extra-community/extra-community.js index f2e5f9ca6..c9d2fb2f3 100755 --- a/print/templates/reports/extra-community/extra-community.js +++ b/print/templates/reports/extra-community/extra-community.js @@ -16,8 +16,8 @@ module.exports = { }; const travels = await this.fetchTravels(args); - const travelsId = travels.map(travel => travel.id); - const entries = await this.fetchEntries(travelsId); + const travelIds = travels.map(travel => travel.id); + const entries = await this.fetchEntries(travelIds); const map = new Map(); for (let travel of travels) @@ -83,8 +83,8 @@ module.exports = { return this.rawSql(query); }, - fetchEntries(travelsId) { - return this.rawSqlFromDef('entries', [travelsId]); + fetchEntries(travelIds) { + return this.rawSqlFromDef('entries', [travelIds]); } }, components: {