update validasi

This commit is contained in:
2023-04-20 08:52:59 +07:00
parent 3a5fd67778
commit 3e2c9015ed
2 changed files with 4 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ class MemberResource extends JsonResource
'corporate' => [
'code' => $this->currentPolicy?->corporate->code ?? null,
'name' => $this->currentPolicy?->corporate->name,
'welcome_message' => $this->currentPolicy?->corporate?->welcome_message,
'welcome_message' => html_entity_decode($this->currentPolicy?->corporate->welcome_message),
'help_text' => $this->currentPolicy?->corporate?->help_text,
'avatar_url' => $this->currentpolicy?->corporate?->avatar_url
],