From 456df0ff5ec3d884902f002403367c8cc0d254fd Mon Sep 17 00:00:00 2001 From: Andrii Trush Date: Wed, 30 Oct 2024 12:02:40 +0100 Subject: [PATCH] Update ExportEnumsToJsCommand.php Fix generating JS from enums. --- src/Commands/ExportEnumsToJsCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/ExportEnumsToJsCommand.php b/src/Commands/ExportEnumsToJsCommand.php index c0f193b..d92e4a5 100644 --- a/src/Commands/ExportEnumsToJsCommand.php +++ b/src/Commands/ExportEnumsToJsCommand.php @@ -60,7 +60,7 @@ public function handle(): int } if (! empty($jsString)) { - File::put(base_path(Config::get('js_objects_file')), trim($jsString)); + File::put(base_path(Config::get('enum-helpers.js_objects_file')), trim($jsString)); } return 0;