diff --git a/apps/api/src/routes/files/importAnmeldungen.ts b/apps/api/src/routes/files/importAnmeldungen.ts index c3f05c70..06322bc9 100644 --- a/apps/api/src/routes/files/importAnmeldungen.ts +++ b/apps/api/src/routes/files/importAnmeldungen.ts @@ -136,15 +136,17 @@ async function createAnmeldung( //Person Schema firstname: row.vorname, lastname: row.nachname, - birthday: dayjs(row.geburtstag, 'DD.MM.YY').toDate(), + birthday: dayjs(row.geburtstag, 'DD.MM.YYYY').toDate(), gender: row.geschlecht, email: row.email, telefon: row.telefon, address: { street: row.strasse, - number: row.hausnummer, + streetNumber: row.hausnummer, zip: row.plz, city: row.ort, + country: 'DE', + valid: false, }, essgewohnheit: row.essgewohnheit, nahrungsmittelIntoleranzen: formatNahrungsmittelIntoleranzen(row.nahrungsmittelIntoleranzen),