summary refs log tree commit diff
path: root/synapse/module_api
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-12-04 13:52:46 +0000
committerErik Johnston <erik@matrix.org>2019-12-05 10:46:37 +0000
commit756d4942f5707922f29fe1fdfd945d73a19d7ac3 (patch)
treebbe79cc91c4da4fc830818132ba54d6974eaba0a /synapse/module_api
parentMerge pull request #6464 from matrix-org/erikj/make_public_sql_base (diff)
downloadsynapse-756d4942f5707922f29fe1fdfd945d73a19d7ac3.tar.xz
Move DB pool and helper functions into dedicated Database class
Diffstat (limited to 'synapse/module_api')
-rw-r--r--synapse/module_api/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/module_api/__init__.py b/synapse/module_api/__init__.py
index 735b882363..305b9b0178 100644
--- a/synapse/module_api/__init__.py
+++ b/synapse/module_api/__init__.py
@@ -175,4 +175,4 @@ class ModuleApi(object):
         Returns:
             Deferred[object]: result of func
         """
-        return self._store.runInteraction(desc, func, *args, **kwargs)
+        return self._store.db.runInteraction(desc, func, *args, **kwargs)