update api user dan export alamr center client
This commit is contained in:
@@ -35,6 +35,7 @@ Route::prefix('linksehat')->group(function () {
|
||||
Route::post('otp-request', 'otpRequest');
|
||||
Route::post('mock-otp', 'mockOtp');
|
||||
Route::post('login', 'login');
|
||||
Route::post('login-phone', 'loginPhone');
|
||||
Route::post('register', 'register');
|
||||
Route::get('social-login/{provider}', 'redirectSocialLogin');
|
||||
Route::get('social-login/{provider}/callback', 'handleSocialLoginCallback');
|
||||
@@ -59,7 +60,7 @@ Route::prefix('linksehat')->group(function () {
|
||||
|
||||
|
||||
Route::middleware('auth:sanctum')->group(function () {
|
||||
Route::get('profile', [ProfileController::class, 'index'])->name('profile');
|
||||
Route::get('profile/{id}', [ProfileController::class, 'index'])->name('profile');
|
||||
Route::post('profile', [ProfileController::class, 'update'])->name('profile.update');
|
||||
Route::post('notification-tokens/delete/{id}', [NotificationTokenController::class, 'destroy'])->name('profile.delete.token');
|
||||
Route::post('notification-tokens', [NotificationTokenController::class, 'store'])->name('profile.store.token');
|
||||
|
||||
Reference in New Issue
Block a user