mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 00:23:51 +01: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,
|
app_display_name, device_display_name,
|
||||||
pushkey, pushkey_ts, lang, data):
|
pushkey, pushkey_ts, lang, data):
|
||||||
try:
|
try:
|
||||||
next_id = self._pushers_id_gen.get_next()
|
next_id = yield self._pushers_id_gen.get_next()
|
||||||
yield self._simple_upsert(
|
yield self._simple_upsert(
|
||||||
PushersTable.table_name,
|
PushersTable.table_name,
|
||||||
dict(
|
dict(
|
||||||
|
|
Loading…
Reference in a new issue