diff --git a/resources/views/pages/association/election/[Election:year].blade.php b/resources/views/pages/association/election/[Election:year].blade.php index b2085d8..3700e91 100644 --- a/resources/views/pages/association/election/[Election:year].blade.php +++ b/resources/views/pages/association/election/[Election:year].blade.php @@ -84,7 +84,7 @@ updated([ ]); $loadEvents = function () { - $this->events = $this->loadNostrEvents([32121]); + $this->events = $this->loadNostrEvents([32122]); }; $loadBoardEvents = function () { @@ -119,7 +119,7 @@ $vote = function ($pubkey, $type, $board = false) { return; } $note = new NostrEvent(); - $note->setKind($board ? 2121 : 32121); + $note->setKind($board ? 2121 : 32122); if (!$board) { $dTag = sprintf('%s,%s,%s', $this->currentPleb->pubkey, date('Y'), $type); $note->setTags([['d', $dTag]]); diff --git a/resources/views/pages/association/election/admin/[Election:year].blade.php b/resources/views/pages/association/election/admin/[Election:year].blade.php index b4d2346..71f92d7 100644 --- a/resources/views/pages/association/election/admin/[Election:year].blade.php +++ b/resources/views/pages/association/election/admin/[Election:year].blade.php @@ -124,7 +124,7 @@ $loadBoardVotes = function () { }; $loadEvents = function () { - $this->events = $this->loadNostrEvents([32121]); + $this->events = $this->loadNostrEvents([32122]); }; $loadBoardEvents = function () {