Updated var name
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
e7c62d2e71
commit
9c09d60775
|
@ -16,8 +16,8 @@ module.exports = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const travels = await this.fetchTravels(args);
|
const travels = await this.fetchTravels(args);
|
||||||
const travelsId = travels.map(travel => travel.id);
|
const travelIds = travels.map(travel => travel.id);
|
||||||
const entries = await this.fetchEntries(travelsId);
|
const entries = await this.fetchEntries(travelIds);
|
||||||
|
|
||||||
const map = new Map();
|
const map = new Map();
|
||||||
for (let travel of travels)
|
for (let travel of travels)
|
||||||
|
@ -83,8 +83,8 @@ module.exports = {
|
||||||
return this.rawSql(query);
|
return this.rawSql(query);
|
||||||
},
|
},
|
||||||
|
|
||||||
fetchEntries(travelsId) {
|
fetchEntries(travelIds) {
|
||||||
return this.rawSqlFromDef('entries', [travelsId]);
|
return this.rawSqlFromDef('entries', [travelIds]);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
|
Loading…
Reference in New Issue