From 3c359ab9cef9d016677c4f8ac81b1987ec56fb80 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 23 Jul 2020 02:17:22 +0200 Subject: [PATCH] actually commit --- royalpack/stars/api_auth_login_osu.py | 1 + 1 file changed, 1 insertion(+) diff --git a/royalpack/stars/api_auth_login_osu.py b/royalpack/stars/api_auth_login_osu.py index 51a2fb74..a725d468 100644 --- a/royalpack/stars/api_auth_login_osu.py +++ b/royalpack/stars/api_auth_login_osu.py @@ -98,5 +98,6 @@ class ApiAuthLoginOsuStar(rca.ApiStar): return token.json() else: + await data.session_commit() raise rcae.ForbiddenError("Account linked successfully; cannot use this account to generate a Royalnet" " login token, as osu! login is currently disabled on this Royalnet instance.") \ No newline at end of file