summary refs log tree commit diff
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-02-03 11:37:52 +0000
committerKegan Dougal <kegan@matrix.org>2015-02-03 11:37:52 +0000
commit3bd2841fdbbbc2e290d13cbd1aa9becc315d2f1c (patch)
treec36d2431df50f80b46554559969c11822754399a
parentImplement regex checks for app services. (diff)
downloadsynapse-3bd2841fdbbbc2e290d13cbd1aa9becc315d2f1c.tar.xz
Everyone loves SQL typos
-rw-r--r--synapse/storage/appservice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/appservice.py b/synapse/storage/appservice.py
index c4e50be4c6..07ed0adcf8 100644
--- a/synapse/storage/appservice.py
+++ b/synapse/storage/appservice.py
@@ -212,7 +212,7 @@ class ApplicationServiceStore(SQLBaseStore):
         )
         # cleanup regex
         txn.execute(
-            "DELETE FROM application_services_regex WHERE id=?",
+            "DELETE FROM application_services_regex WHERE as_id=?",
             (as_id,)
         )
         for (ns_int, ns_str) in enumerate(namespace_enum):