From 3d32d6bcffeacab546f2567b7100616e706a9ad8 Mon Sep 17 00:00:00 2001 From: leonnicolas Date: Thu, 29 Oct 2020 14:59:34 +0100 Subject: [PATCH] src/datasources/db/cargobikeAPI.ts: bug fix --- src/datasources/db/cargobikeAPI.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }