Skip to content

Commit 72d6820

Browse files
committed
Fix Function Name
• setUnauthenticatedEmail() has been renamed to setEmail()
1 parent b453920 commit 72d6820

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
@@ -452,7 +452,7 @@ OneSignal.setEmail("[email protected]", emailAuthCode, {(error) => {
452452
If you don't want to implement email auth hashing on your backend (which is heavily recommended), you can still use the OneSignal email feature in an unauthenticated state like this:
453453

454454
```javascript
455-
OneSignal.setUnauthenticatedEmail("[email protected]", {(error) => {
455+
OneSignal.setEmail("[email protected]", {(error) => {
456456
//handle error if it occurred
457457
}});
458458
```

0 commit comments

Comments
 (0)