group(function () { Route::get('/unauthenticated', function () { return response()->json([ 'message' => 'Bearer missing or invalid', ], 401); }); Route::get('/test', function () { $subtask = \App\Models\SubTask::with('mastertask')->find(1); dd($subtask); }); Route::get('/run-office365', function () { \Artisan::call('office365:sync'); \Artisan::call('office365:office365:finish-subtasks'); }); Route::get('/healthcheck', function () { return response()->json([ 'message' => 'All good', ], 200); }); });