Add missing yield
This commit is contained in:
parent
ed26e4012b
commit
6e91f14d09
|
@ -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 New Issue