From 4f5512ab637d549ff8d4c5b265cda1b04d254194 Mon Sep 17 00:00:00 2001 From: Chris Veilleux Date: Mon, 18 Feb 2019 14:53:34 -0600 Subject: [PATCH] changed to use new class signature --- api/sso/sso_api/endpoints/authenticate_internal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/sso/sso_api/endpoints/authenticate_internal.py b/api/sso/sso_api/endpoints/authenticate_internal.py index 91e1be3e..4bf7df9a 100644 --- a/api/sso/sso_api/endpoints/authenticate_internal.py +++ b/api/sso/sso_api/endpoints/authenticate_internal.py @@ -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)