forked from MirrorHub/synapse
Add missing yield in storage func
This commit is contained in:
parent
c756dfeb14
commit
f9e12f79ca
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class RegistrationStore(SQLBaseStore):
|
||||||
"""
|
"""
|
||||||
next_id = yield self._access_tokens_id_gen.get_next()
|
next_id = yield self._access_tokens_id_gen.get_next()
|
||||||
|
|
||||||
self._simple_insert(
|
yield self._simple_insert(
|
||||||
"access_tokens",
|
"access_tokens",
|
||||||
{
|
{
|
||||||
"id": next_id,
|
"id": next_id,
|
||||||
|
|
Loading…
Reference in a new issue