Skip to content

Commit 50781d7

Browse files
committed
fix announcements bug
1 parent 4a1b1cc commit 50781d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Managers/Agent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function getAnnouncements()
109109
return;
110110
}
111111

112-
return $this->client->post('announcements', ['installation_id' => $installationId])->json();
112+
return $this->client()->post('announcements', ['installation_id' => $installationId])->json();
113113
}
114114

115115
public function updateEnvironment()

src/Widgets/AnnouncementWidget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class AnnouncementWidget extends Widget
1212
{
13-
public static $handle = 'eyris-announcements';
13+
public static $handle = 'eyris_announcements';
1414

1515
public bool $supportsStatamicUiLibrary = false;
1616

0 commit comments

Comments
 (0)