mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-25 04:13:17 +00:00
🛠️ Refactor migrations, models, configs, and Blade files to apply consistent formatting, remove unnecessary lines, and improve readability.
This commit is contained in:
@@ -15,7 +15,7 @@ class GetProfile extends Controller
|
||||
|
||||
public function __invoke($key, Request $request)
|
||||
{
|
||||
if (!Profile::query()->where('pubkey', $key)->exists()) {
|
||||
if (! Profile::query()->where('pubkey', $key)->exists()) {
|
||||
$this->fetchProfile([$key]);
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ class GetProfile extends Controller
|
||||
->where('pubkey', $key)
|
||||
->first();
|
||||
|
||||
if (!$profile) {
|
||||
if (! $profile) {
|
||||
return response()->json(['message' => 'Profile not found'], 200);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user