add company sync

This commit is contained in:
2025-11-13 15:09:49 +08:00
parent ae4582f935
commit 8ec3fd98df
+1 -1
View File
@@ -48,7 +48,7 @@ class AppCompanySync extends HyperfCommand
Company::create([
'id' => $el['id'],
'name' => $el['name'],
'enabled' => $el['isEnabled']
'enabled' => \boolval($el['isEnabled']) === true ? true : false,
]);
});