From d8584f103419af1485d780a0dd3e728587c8d906 Mon Sep 17 00:00:00 2001 From: Fery Wardiyanto Date: Sat, 30 Mar 2024 20:35:17 +0700 Subject: [PATCH] chore: fix nusa config overwrite Signed-off-by: Fery Wardiyanto --- src/ServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 00fd48a..19eee5c 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -67,9 +67,9 @@ public function register(): void { if (! app()->configurationIsCached()) { config([ - 'creasi.nusa' => array_merge([ + 'creasi.nusa' => array_merge(config('creasi.nusa', []), [ 'addressable' => Models\Address::class, - ], config('creasi.nusa', [])), + ]), ]); $this->mergeConfigFrom(self::LIB_PATH.'/config/creasico.php', 'creasi.base');