Skip to content

Commit 51effd1

Browse files
authored
Merge pull request #232 from bruha/patch-1
Code sample fix in README.md
2 parents 337762c + f8a8055 commit 51effd1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Then you can run the following commands:
113113

114114
```javascript
115115
const pushSubscription = {
116-
endpoint: '< Push Subscription URL >';
116+
endpoint: '< Push Subscription URL >',
117117
keys: {
118118
p256dh: '< User Public Encryption Key >',
119119
auth: '< User Auth Secret >'
@@ -127,8 +127,8 @@ const options = {
127127
vapidDetails: {
128128
subject: '< \'mailto\' Address or URL >',
129129
publicKey: '< URL Safe Base64 Encoded Public Key >',
130-
privateKey: '< URL Safe Base64 Encoded Private Key >',
131-
}
130+
privateKey: '< URL Safe Base64 Encoded Private Key >'
131+
},
132132
TTL: <Number>
133133
}
134134

0 commit comments

Comments
 (0)