Skip to content

Commit 8f8a3b2

Browse files
authored
fix: Wrong method call in DB notifications docs (#20014)
1 parent 09085fc commit 8f8a3b2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/notifications/docs/02-database-notifications.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Notification::make()
166166
->button()
167167
->markAsRead(),
168168
])
169-
->send();
169+
->sendToDatabase($recipient);
170170
```
171171

172172
Alternatively, you may use the `markAsUnread()` method to mark a notification as unread:
@@ -184,7 +184,7 @@ Notification::make()
184184
->button()
185185
->markAsUnread(),
186186
])
187-
->send();
187+
->sendToDatabase($recipient);
188188
```
189189

190190
## Opening the database notifications modal

0 commit comments

Comments
 (0)