Remove useless TODO comments

This commit is contained in:
Matteo Gheza 2024-01-07 18:48:10 +01:00
parent 3ea8c39fa6
commit 75f495e574
2 changed files with 1 additions and 2 deletions

View File

@ -22,7 +22,6 @@ class ProcessInboundPhoto
$bot = $event->bot;
/*
//TODO: update if needed
// Download the largest image to the storage/app directory.
$photo = collect($update['message']['photo'])->last();
$bot->downloadFile($photo, storage_path('app/photos'));

View File

@ -34,7 +34,7 @@ Route::post('/login', [AuthController::class, 'login']);
Route::get('/stats/services', [StatsController::class, 'services'])->middleware(ETag::class);
Route::middleware('auth:sanctum')->group( function () {
//Route::post('/register', [AuthController::class, 'register']); //TODO: replace with admin only route
Route::post('/register', [AuthController::class, 'register']);
Route::post('/impersonate/{user}', [AuthController::class, 'impersonate']);
Route::post('/stop_impersonating', [AuthController::class, 'stopImpersonating']);