mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 02:40:22 +00:00
Add missing yield
This commit is contained in:
parent
ed26e4012b
commit
6e91f14d09
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class PusherStore(SQLBaseStore):
|
|||
app_display_name, device_display_name,
|
||||
pushkey, pushkey_ts, lang, data):
|
||||
try:
|
||||
next_id = self._pushers_id_gen.get_next()
|
||||
next_id = yield self._pushers_id_gen.get_next()
|
||||
yield self._simple_upsert(
|
||||
PushersTable.table_name,
|
||||
dict(
|
||||
|
|
Loading…
Reference in a new issue