Vereinfacht: sync country with finance contact API
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Moritz 2026-03-04 19:37:19 +01:00
parent fbc3fc2a4d
commit 9f169b9835
Signed by: moritz
GPG key ID: 1020A035E5DD0824
3 changed files with 5 additions and 3 deletions

View file

@ -345,6 +345,7 @@ defmodule Mv.Vereinfacht.Client do
|> put_attr("address", address)
|> put_attr("zipCode", member |> Map.get(:postal_code))
|> put_attr("city", member |> Map.get(:city))
|> put_attr("country", member |> Map.get(:country))
|> Map.put("contactType", "person")
|> Map.put("isExternal", true)
|> Enum.reject(fn {_k, v} -> is_nil(v) end)