mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-03-26 22:38:42 +00:00
- ✨ Refactor edit.blade.php to handle admin-specific fields (accepted and sats_paid) through conditional logic.
- 📦 Upgrade Laravel framework, Livewire, and dependencies to ensure compatibility with version `13.1.1`.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace App\Traits;
|
||||
|
||||
use App\Models\Profile;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
use swentel\nostr\Filter\Filter;
|
||||
use swentel\nostr\Key\Key;
|
||||
use swentel\nostr\Message\RequestMessage;
|
||||
@@ -21,7 +22,7 @@ trait NostrFetcherTrait
|
||||
public function getNip05HandlesForPubkey(string $pubkey): array
|
||||
{
|
||||
try {
|
||||
$response = \Illuminate\Support\Facades\Http::get(
|
||||
$response = Http::get(
|
||||
'https://einundzwanzig.space/.well-known/nostr.json',
|
||||
);
|
||||
$data = $response->json();
|
||||
|
||||
Reference in New Issue
Block a user