diff --git a/trustgraph-flow/trustgraph/api/gateway/service.py b/trustgraph-flow/trustgraph/api/gateway/service.py index 38ff8291..faa250dc 100755 --- a/trustgraph-flow/trustgraph/api/gateway/service.py +++ b/trustgraph-flow/trustgraph/api/gateway/service.py @@ -212,7 +212,7 @@ class Api: # Text is base64 encoded text = base64.b64decode(data["text"]).decode(charset) - resp = asyncio.to_thread( + resp = await asyncio.to_thread( self.text_out.send, None, TextDocument(