Skip to content

Commit

Permalink
fix field name in dto
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Mar 8, 2024
1 parent 41cdc04 commit 11bcb7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ pip install cent

## Centrifugo compatibility

**Cent v5 and higher works only with Centrifugo v5**.

* **Cent v5 and higher works only with Centrifugo v5**.
* If you need to work with Centrifugo v3, v4 => use Cent v4
* If you need to work with Centrifugo v2 => use Cent v3

Expand Down
3 changes: 2 additions & 1 deletion cent/dto.py
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,7 @@ class PushNotification(NestedModel):

class SendPushNotificationResult(CentResult):
"""Send push notification result."""

uid: str


Expand Down Expand Up @@ -1218,7 +1219,7 @@ class UpdatePushStatusRequest(CentRequest[UpdatePushStatusResult]):
__api_method__ = "update_push_status"
__returning__ = UpdatePushStatusResult

alalytics_uid: str
analytics_uid: str
status: str
device_id: str
msg_id: Optional[str] = None
Expand Down

0 comments on commit 11bcb7f

Please sign in to comment.