Update Schedules

This commit is contained in:
R
2022-09-27 10:03:11 +07:00
parent 876e521347
commit 388f7b2a9b
9 changed files with 843 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ Route::prefix('linksehat')->group(function () {
Route::get('doctors/online', [DoctorController::class, 'index'])->name('doctors.online');
Route::get('doctors', [DoctorController::class, 'index'])->name('doctors.index');
Route::get('doctors/{id}', [DoctorController::class, 'show'])->name('doctors.show');
Route::get('doctors/{id}/schedule', [DoctorController::class, 'schedule'])->name('doctors.schedule');
Route::post('doctors/{id}/schedule', [DoctorController::class, 'schedule'])->name('doctors.schedule');
// Route::middleware('auth:api')->get('/linksehat', function (Request $request) {
// return $request->user();