fix-async-endpoint

This commit is contained in:
tonyrewin 2022-12-12 11:17:59 +03:00
parent d117493ff5
commit 420db45580

View File

@ -4,7 +4,7 @@ from resolvers.inbox.messages import message_generator
from base.exceptions import Unauthorized
async def sse_messages(request: Request):
def sse_messages(request: Request):
print(f'[SSE] {request.scope}') # FIXME: DOES NOT HAPPEN TO BE CALLED
# https://github.com/enisdenjo/graphql-sse/blob/master/PROTOCOL.md
if request['user']: