Skip to content

Commit

Permalink
Update WebPush.rst (#726)
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
KienTPhan authored Jun 20, 2024
1 parent bfc92c0 commit 68bae4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/WebPush.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ The example subscribeUser function is best called in response to a user action,
Server Side logic to create webpush
------------------------------
Is is up to you how to add a view in your django application that can handle a POST of p256dh, auth, registration_id and create a WebPushDevice with those values assoicated with the appropriate user.
It is up to you how to add a view in your django application that can handle a POST of p256dh, auth, registration_id and create a WebPushDevice with those values assoicated with the appropriate user.
For example you could use rest_framework

.. code-block:: python
Expand Down

0 comments on commit 68bae4f

Please sign in to comment.