correct wrong spelling of web_notifications
This commit is contained in:
@@ -51,7 +51,7 @@ class UserController extends Controller
|
|||||||
"lastname" => $request["lastname"],
|
"lastname" => $request["lastname"],
|
||||||
"validate" => 0,
|
"validate" => 0,
|
||||||
"phone" => $phone->formatInternational(),
|
"phone" => $phone->formatInternational(),
|
||||||
"web_notifiactions" => 1,
|
"web_notifications" => 1,
|
||||||
"email_notifications" => 1,
|
"email_notifications" => 1,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -28,7 +28,7 @@ class User extends Authenticatable
|
|||||||
'verified_at',
|
'verified_at',
|
||||||
'profile_photo_path',
|
'profile_photo_path',
|
||||||
'email_notifications',
|
'email_notifications',
|
||||||
'web_notifiactions'
|
'web_notifications'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ class UserService
|
|||||||
"validate" => $user->validate,
|
"validate" => $user->validate,
|
||||||
"tasks" => $user->tasks,
|
"tasks" => $user->tasks,
|
||||||
"profile_photo_path" => $user->profile_photo_path,
|
"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->integer('role')->nullable();
|
||||||
$table->dateTime('verified_at')->nullable();
|
$table->dateTime('verified_at')->nullable();
|
||||||
$table->integer('email_notifications')->default(1);
|
$table->integer('email_notifications')->default(1);
|
||||||
$table->integer('web_notifiactions')->default(1);
|
$table->integer('web_notifications')->default(1);
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ class DevSeeder extends Seeder
|
|||||||
'phone' => config('app.admin_phone'),
|
'phone' => config('app.admin_phone'),
|
||||||
'role' => 1,
|
'role' => 1,
|
||||||
'validate' => 1,
|
'validate' => 1,
|
||||||
'web_notifiactions' => 1,
|
'web_notifications' => 1,
|
||||||
'email_notifications' => 1,
|
'email_notifications' => 1,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ class ProdSeeder extends Seeder
|
|||||||
'phone' => config('app.admin_phone'),
|
'phone' => config('app.admin_phone'),
|
||||||
'role' => 1,
|
'role' => 1,
|
||||||
'validate' => 1,
|
'validate' => 1,
|
||||||
'web_notifiactions' => 1,
|
'web_notifications' => 1,
|
||||||
'email_notifications' => 1,
|
'email_notifications' => 1,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user