update send notification fcm

This commit is contained in:
2024-05-24 09:09:21 +07:00
parent 8ae6e44680
commit 8af376cd37
10 changed files with 253 additions and 24 deletions

View File

@@ -44,7 +44,6 @@ Route::prefix('linksehat')->group(function () {
Route::controller(AuthController::class)->group(function () {
Route::post('otp-request', 'otpRequest');
Route::post('notification-token', 'notificationToken');
Route::post('mock-otp', 'mockOtp');
Route::post('login', 'login');
Route::post('logout', 'logout');
@@ -74,6 +73,7 @@ Route::prefix('linksehat')->group(function () {
});
Route::middleware('auth:sanctum')->group(function () {
Route::post('notification-token', [AuthController::class, 'notificationToken']);
Route::get('profile/{id}', [ProfileController::class, 'index'])->name('profile');
Route::get('change-profile/{id}', [ProfileController::class, 'changeProfile'])->name('change-profile');
Route::post('profile', [ProfileController::class, 'update'])->name('profile.update');