Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fix wrong model registration
Browse files Browse the repository at this point in the history
  • Loading branch information
Omranic committed Aug 16, 2023
1 parent 63bd44d commit 40d0293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Providers/SettingsTenantableServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace Cortex\Settings\Providers;

use Cortex\Settings\Models\Setting;
use Illuminate\Support\ServiceProvider;
use Rinvex\Support\Traits\ConsoleTools;
use Cortex\Settings\Models\SettingTenantable;

class SettingsTenantableServiceProvider extends ServiceProvider
{
Expand All @@ -25,7 +25,7 @@ public function register(): void
{
// Bind eloquent models to IoC container
$this->registerModels([
'rinvex.settings.setting' => Setting::class,
'rinvex.settings.setting' => SettingTenantable::class,
]);
}
}

0 comments on commit 40d0293

Please sign in to comment.