fix person creation

This commit is contained in:
2024-05-17 01:52:58 +02:00
parent ab2fd071e0
commit 069d9317a3
5 changed files with 7 additions and 5 deletions

View File

@@ -40,6 +40,7 @@
payload.mothers_first_name &&
payload.mothers_last_name
) {
payload.born = new Date(payload.born).toISOString();
fetch(PUBLIC_API_URL + '/person', {
method: 'POST',
headers: {