correct wrong spelling of web_notifications

This commit is contained in:
2026-03-26 10:19:18 +01:00
parent c73f4bd35b
commit 83ec6c9a2a
6 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ class UserController extends Controller
"lastname" => $request["lastname"],
"validate" => 0,
"phone" => $phone->formatInternational(),
"web_notifiactions" => 1,
"web_notifications" => 1,
"email_notifications" => 1,
]);
+1 -1
View File
@@ -28,7 +28,7 @@ class User extends Authenticatable
'verified_at',
'profile_photo_path',
'email_notifications',
'web_notifiactions'
'web_notifications'
];
/**
+2
View File
@@ -24,6 +24,8 @@ class UserService
"validate" => $user->validate,
"tasks" => $user->tasks,
"profile_photo_path" => $user->profile_photo_path,
"email_notifications" => $user->email_notifications,
"web_notifications" => $user->web_notifications,
];
}
}
@@ -22,7 +22,7 @@ return new class extends Migration
$table->integer('role')->nullable();
$table->dateTime('verified_at')->nullable();
$table->integer('email_notifications')->default(1);
$table->integer('web_notifiactions')->default(1);
$table->integer('web_notifications')->default(1);
$table->timestamps();
});
}
+1 -1
View File
@@ -26,7 +26,7 @@ class DevSeeder extends Seeder
'phone' => config('app.admin_phone'),
'role' => 1,
'validate' => 1,
'web_notifiactions' => 1,
'web_notifications' => 1,
'email_notifications' => 1,
]
);
+1 -1
View File
@@ -24,7 +24,7 @@ class ProdSeeder extends Seeder
'phone' => config('app.admin_phone'),
'role' => 1,
'validate' => 1,
'web_notifiactions' => 1,
'web_notifications' => 1,
'email_notifications' => 1,
]
);