diff --git a/src/datasources/db/cargobikeAPI.ts b/src/datasources/db/cargobikeAPI.ts index 47dd961..b9cb99b 100644 --- a/src/datasources/db/cargobikeAPI.ts +++ b/src/datasources/db/cargobikeAPI.ts @@ -146,7 +146,7 @@ export class CargoBikeAPI extends DataSource { .of(inserts.identifiers[0].id) .add(cargoBike.equipmentTypeIds); }); - inserts.generatedMaps[0] = inserts?.identifiers[0].id; + inserts.generatedMaps[0].id = inserts?.identifiers[0].id; return inserts?.generatedMaps[0]; }