fix: user settings
All checks were successful
JS Unit Tests / test (pull_request) Successful in 15s
Build Test / build (pull_request) Successful in 19s
PHP Unit Tests / test (pull_request) Successful in 50s

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-03-04 20:35:00 -05:00
parent 24e046792b
commit 3a2739fdd8
4 changed files with 43 additions and 16 deletions

View File

@@ -116,9 +116,9 @@ class UserAccountsService
// Settings Operations
// =========================================================================
public function fetchSettings(array $settings = []): array | null
public function fetchSettings(array $settings = [], bool $flatten = false): array | null
{
return $this->userStore->fetchSettings($this->tenantIdentity->identifier(), $this->userIdentity->identifier(), $settings);
return $this->userStore->fetchSettings($this->tenantIdentity->identifier(), $this->userIdentity->identifier(), $settings, $flatten);
}
public function storeSettings(array $settings): bool