insertion into monthly_active_users

This commit is contained in:
Neil Johnson 2018-08-02 13:47:19 +01:00
parent 4a6725d9d1
commit 00f99f74b1
5 changed files with 99 additions and 11 deletions

View file

@ -213,7 +213,7 @@ class Auth(object):
default=[b""]
)[0]
if user and access_token and ip_addr:
self.store.insert_client_ip(
yield self.store.insert_client_ip(
user_id=user.to_string(),
access_token=access_token,
ip=ip_addr,