Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
In example part,   
vapid_claims={
                "sub": "YourNameHere@example.org",
            }
It will lead to an error which lacks "mailto" fields.
  • Loading branch information
WU731642061 committed Mar 8, 2018
1 parent bd2d72a commit 99669f8
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 @@ -98,7 +98,7 @@ try:
data="Mary had a little lamb, with a nice mint jelly",
vapid_private_key="path/to/vapid_private.pem",
vapid_claims={
"sub": "YourNameHere@example.org",
"sub": "mailto:YourNameHere@example.org",
}
)
except WebPushException as ex:
Expand Down

0 comments on commit 99669f8

Please sign in to comment.