Fix Invoiceevent and referral setting seed

Fix Invoiceevent and referral setting seed
This commit is contained in:
Dennis 2023-01-19 16:15:22 +01:00 committed by GitHub
commit 29fa7744e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View file

@ -4,10 +4,8 @@ namespace App\Listeners;
use App\Events\PaymentEvent;
use App\Traits\Invoiceable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
class CreateInvoice implements ShouldQueue
class CreateInvoice
{
use Invoiceable;

View file

@ -481,7 +481,7 @@ class SettingsSeeder extends Seeder
Settings::firstOrCreate([
'key' => 'SETTINGS::REFERRAL::ENABLED',
], [
'value' => 'true',
'value' => 'false',
'type' => 'string',
'description' => 'Enable or disable the referral system',
]);
@ -616,7 +616,7 @@ class SettingsSeeder extends Seeder
Settings::firstOrCreate([
'key' => 'SETTINGS::SYSTEM:MOTD_ENABLED',
], [
'value' => 'true',
'value' => 'false',
'type' => 'boolean',
'description' => 'Enable/disable MOTD on Homepage',
]);