pint/lint

This commit is contained in:
Bob Molitor
2025-10-20 22:10:08 +02:00
parent 4dc36a768e
commit aa23eec392
16 changed files with 21 additions and 19 deletions
+5 -5
View File
@@ -1,7 +1,7 @@
<?php
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Route;
use Laravel\Fortify\Features;
use Livewire\Volt\Volt;
@@ -14,19 +14,19 @@ Route::get('/test-zweite-db', function () {
try {
// Eine einfache Abfrage auf der zweiten Verbindung
$result = DB::connection('pgsql_second')->select('SELECT NOW() as current_time');
return response()->json([
'status' => 'Erfolgreich verbunden mit zweiter Datenbank',
'zeitstempel' => $result[0]->current_time
'zeitstempel' => $result[0]->current_time,
]);
} catch (\Exception $e) {
return response()->json([
'status' => 'Fehler bei der Verbindung',
'meldung' => $e->getMessage()
'meldung' => $e->getMessage(),
], 500);
}
});
Route::view('dashboard', 'dashboard')
->middleware(['auth', 'verified'])
->name('dashboard');
@@ -58,4 +58,4 @@ Route::middleware(['auth'])->group(function () {
->name('two-factor.show');
});
require __DIR__ . '/auth.php';
require __DIR__.'/auth.php';