mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-03-23 19:08:41 +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:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Console\Commands\Nostr;
|
||||
|
||||
use App\Models\EinundzwanzigPleb;
|
||||
use App\Models\Event;
|
||||
use App\Traits\NostrEventRendererTrait;
|
||||
use Illuminate\Console\Command;
|
||||
@@ -35,7 +36,7 @@ class FetchEvents extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$plebs = \App\Models\EinundzwanzigPleb::query()
|
||||
$plebs = EinundzwanzigPleb::query()
|
||||
->get();
|
||||
|
||||
$subscription = new Subscription;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Console\Commands\Nostr;
|
||||
|
||||
use App\Models\Event;
|
||||
use App\Traits\NostrEventRendererTrait;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Facades\Broadcast;
|
||||
@@ -29,7 +30,7 @@ class RenderAllEvents extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$events = \App\Models\Event::query()
|
||||
$events = Event::query()
|
||||
->get();
|
||||
|
||||
foreach ($events as $event) {
|
||||
|
||||
Reference in New Issue
Block a user