summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/room.py2
-rw-r--r--synapse/rest/client/transactions.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/room.py b/synapse/rest/client/room.py

index 129b6fe6b0..3a3abed56a 100644 --- a/synapse/rest/client/room.py +++ b/synapse/rest/client/room.py
@@ -1124,7 +1124,7 @@ class RoomRedactEventRestServlet(TransactionRestServlet): ) if with_relations: - run_as_background_process( + run_as_background_process( # type: ignore[unused-awaitable] "redact_related_events", self._relation_handler.redact_events_related_to, requester=requester, diff --git a/synapse/rest/client/transactions.py b/synapse/rest/client/transactions.py
index f2aaab6227..df194f8439 100644 --- a/synapse/rest/client/transactions.py +++ b/synapse/rest/client/transactions.py
@@ -116,7 +116,7 @@ class HttpTransactionCache: # we deliberately do not propagate the error any further, as we # expect the observers to have reported it. - deferred.addErrback(remove_from_map) + deferred.addErrback(remove_from_map) # type: ignore[unused-awaitable] return make_deferred_yieldable(observable.observe())