Skip to content

Commit a4cfa89

Browse files
authored
docs: fix event handler name in example
1 parent 0132ea0 commit a4cfa89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export {}
157157

158158
All handlers can be auto-imported and used in your server routes or API routes.
159159

160-
The pattern is `oauth<Provider>EventHandler({ onSuccess, config?, onError? })`, example: `authGitHubEventHandler`.
160+
The pattern is `oauth<Provider>EventHandler({ onSuccess, config?, onError? })`, example: `oauthGitHubEventHandler`.
161161

162162
The helper returns an event handler that automatically redirects to the provider authorization page and then calls `onSuccess` or `onError` depending on the result.
163163

0 commit comments

Comments
 (0)