Skip to content

Commit f507a86

Browse files
committed
fix typo
1 parent 49b204d commit f507a86

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
@@ -124,7 +124,7 @@ Urgency can be either "very-low", "low", "normal", or "high". If the browser ven
124124
#### topic
125125
Similar to the old `collapse_key` on legacy GCM servers, this string will make the vendor show to the user only the last notification of this topic (cf. [protocol](https://tools.ietf.org/html/draft-ietf-webpush-protocol-08#section-5.4)).
126126

127-
#### Server errors
127+
### Server errors
128128
You can see what the browser vendor's server sends back in case it encountered an error (push subscription expiration, wrong parameters...).
129129
`sendNotification()` (with flush as true) and `flush()` returns true if there were no errors. If there are errors it returns an array like the following.
130130
The `expired` key can be useful to clean your database of expired endpoints.

0 commit comments

Comments
 (0)