Skip to content

Commit

Permalink
Fix function name in Readme.md (#3)
Browse files Browse the repository at this point in the history
Changes `Knock.notify` to `Knock.trigger`.
  • Loading branch information
aglassman authored Jul 18, 2022
1 parent aed2e0e commit 42ce21d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ MyApp.Knock.client()

```elixir
MyApp.Knock.client()
|> Knock.notify("dinosaurs-loose", %{
|> Knock.trigger("dinosaurs-loose", %{
# user id of who performed the action
"actor" => "dnedry",
# list of user ids for who should receive the notif
Expand Down

0 comments on commit 42ce21d

Please sign in to comment.