changed to use new class signature

pull/53/head
Chris Veilleux 2019-02-18 14:53:34 -06:00
parent c2dfa9c318
commit 4f5512ab63
1 changed files with 1 additions and 1 deletions

View File

@ -62,5 +62,5 @@ class AuthenticateInternalEndpoint(SeleneEndpoint):
:param refresh_token: the token to install into the database.
"""
with get_db_connection(self.config['DB_CONNECTION_POOL']) as db:
token_repo = RefreshTokenRepository(db, self.account)
token_repo = RefreshTokenRepository(db, self.account.id)
token_repo.add_refresh_token(refresh_token)