src/datasources/db/cargobikeAPI.ts: bug fix

pull/14/head
leonnicolas 4 years ago
parent f037d563b9
commit 3d32d6bcff
No known key found for this signature in database
GPG Key ID: 088D0743E2B65C07

@ -146,7 +146,7 @@ export class CargoBikeAPI extends DataSource {
.of(inserts.identifiers[0].id) .of(inserts.identifiers[0].id)
.add(cargoBike.equipmentTypeIds); .add(cargoBike.equipmentTypeIds);
}); });
inserts.generatedMaps[0] = inserts?.identifiers[0].id; inserts.generatedMaps[0].id = inserts?.identifiers[0].id;
return inserts?.generatedMaps[0]; return inserts?.generatedMaps[0];
} }

Loading…
Cancel
Save