Fixed: default kontoverbindung

This commit is contained in:
philipp lang 2022-02-11 01:58:00 +01:00
parent 1f03a84eff
commit a53cf6abd9
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class Api {
$existing = $this->member($member->group_id, $member->id);
if (data_get($attributes, 'id')) {
$payload = array_merge($existing, $member->toNami());
$payload['kontoverbindung'] = json_encode($payload['kontoverbindung']);
$payload['kontoverbindung'] = json_encode(data_get($payload, 'kontoverbindung', []));
$response = $this->http()->put(
self::$url.'/ica/rest/nami/mitglied/filtered-for-navigation/gruppierung/gruppierung/'.$member->group_id.'/'.$member->id,
$payload