Skip to content

Commit a7f9ca2

Browse files
authored
fix typo
1 parent 7805987 commit a7f9ca2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/chats.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
## Общая инфа
44
URL для всего вебсокет-релейтед - `/ws/`
55

6-
В данный момент есть только 1 Consumer (т.е. View, но для вебсокетов). Это ChatsConsumer, живет на `/ws/chats/`.
6+
В данный момент есть только 1 Consumer (т.е. View, но для вебсокетов). Это ChatConsumer, живет на `/ws/chat/`.
77

8-
# ChatsConsumer
9-
`/ws/chats/`
8+
# ChatConsumer
9+
`/ws/chat/`
1010

1111
### Подключение
1212
Чтобы законнектиться, укажите в хедерах авторизацию по Bearer токену (как и для всех других запросов в REST API).
@@ -25,7 +25,7 @@ class Event:
2525
# эти строки указывать в {"type": event_type}
2626

2727
class EventType(str, Enum):
28-
# CHATS RELATED EVENTS
28+
# CHAT RELATED EVENTS
2929
NEW_MESSAGE = "new_message"
3030
DELETE_MESSAGE = "delete_message"
3131
READ_MESSAGE = "message_read"

0 commit comments

Comments
 (0)