Fsoky Community
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
README.md
|
|
@ -97,7 +97,7 @@ async def login(): |
|
|
|
fugo = Centrifugo(user.socket_connection_token, access_token, user.id) |
|
|
|
event = await fugo.subscribe(Channels.NEW_DONATION_ALERTS) # В новой версии .connect не нужен. |
|
|
|
|
|
|
|
return event.objects # Возвращает JSON object |
|
|
|
return event.objects # Возвращает JSON object (в практически каждом методе есть objects) |
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
|