code format

This commit is contained in:
Edward Yang 2023-02-21 12:44:12 +08:00
parent 3ff13b3c70
commit 688d4f42d3
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class SettingRepo
'type' => $type,
'space' => $code,
'name' => $name,
'value' => is_array($value) ? json_encode($value) : (string)$value,
'value' => is_array($value) ? json_encode($value) : (string) $value,
'json' => is_array($value),
'created_at' => Carbon::now(),
'updated_at' => Carbon::now(),