Skip to content

Commit

Permalink
Update WebPush.rst
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
KienTPhan authored Jun 8, 2024
1 parent 2f1f7bb commit 27a59d4
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 27a59d4

Please sign in to comment.