update send notification fcm
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user