mirror of
https://github.com/django/daphne.git
synced 2025-04-20 16:52:03 +03:00
Fix echo endpoint in testproject
This commit is contained in:
parent
e0341e65cd
commit
80a9019cb2
|
@ -9,4 +9,6 @@ def ws_connect(message):
|
|||
#@enforce_ordering(slight=True)
|
||||
def ws_message(message):
|
||||
"Echoes messages back to the client"
|
||||
message.reply_channel.send(message.content)
|
||||
message.reply_channel.send({
|
||||
"text": message['text'],
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user