Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions api/dbSync/entities/cave.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,6 @@ const query = `

async function* processRows(source) {
for await (const rows of source) {
// Keep until frontend migrates from entrances.length to nbEntrances
const joins = [
{
table: 't_entrance',
foreignField: 'id_cave',
rows,
localField: 'entrances',
fields: ['id'],
transform: (e) => e.id,
},
];

await Promise.all(joins.map((e) => exportUtils.joinMany(e)));
for (const row of rows) yield row;
}
}
Expand Down