fix wrong namespace use

This commit is contained in:
Giovanni committed 2026-10-09 18:45:22 +02:00
1 parent 7b4512bf27
commit e7baf34c4f
6 files changed
+14 -11

No files matched your search

+4 -4
View File
@@ -6,9 +6,9 @@ use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
Route::middleware('auth:sanctum')->group(function () {
Route::post('/profile-photo', [\apps\backend\app\Http\Controllers\UserController::class, 'updatePhoto']);
Route::delete('/profile-photo', [\apps\backend\app\Http\Controllers\UserController::class, 'destroy']);
Route::get('/profile-photo', [\apps\backend\app\Http\Controllers\UserController::class, 'show']);
Route::post('/profile-photo', [app\Http\Controllers\UserController::class, 'updatePhoto']);
Route::delete('/profile-photo', [app\Http\Controllers\UserController::class, 'destroy']);
Route::get('/profile-photo', [app\Http\Controllers\UserController::class, 'show']);
});
@@ -18,5 +18,5 @@ Route::get("/hello", function (Request $request) {
});
Route::get("/roles", function(Request $request) {
return \apps\backend\app\Services\GetRole::GetAllRoles();
return app\Services\GetRole::GetAllRoles();
});