fix-async-endpoint
This commit is contained in:
parent
d117493ff5
commit
420db45580
|
@ -4,7 +4,7 @@ from resolvers.inbox.messages import message_generator
|
||||||
from base.exceptions import Unauthorized
|
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
|
print(f'[SSE] {request.scope}') # FIXME: DOES NOT HAPPEN TO BE CALLED
|
||||||
# https://github.com/enisdenjo/graphql-sse/blob/master/PROTOCOL.md
|
# https://github.com/enisdenjo/graphql-sse/blob/master/PROTOCOL.md
|
||||||
if request['user']:
|
if request['user']:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user