Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
unicodeveloper authored May 25, 2023
1 parent cc611bd commit 3f36dd0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,10 @@ $novu->markSubscriberMessageActionAsSeen($subscriberId, $messageId, $type, []);
```php

// Create a Topic
$novu->createTopic($topicName);
$novu->createTopic([
'key' => 'frontend-users',
'name' => 'All frontend users'
]);

// Fetch all topics
$novu->getTopics();
Expand Down

0 comments on commit 3f36dd0

Please sign in to comment.