fix-async-endpoint
This commit is contained in:
@@ -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']:
|
||||||
|
|||||||
Reference in New Issue
Block a user