mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 07:17:17 +00:00
update aioauth-client to newest version
This commit is contained in:
parent
6d1f641e50
commit
ba483173af
@ -17,7 +17,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
import aioauth_client # type: ignore
|
import aioauth_client
|
||||||
|
|
||||||
from typing import Optional, Type
|
from typing import Optional, Type
|
||||||
|
|
||||||
@ -106,7 +106,7 @@ class OAuth(Mapping):
|
|||||||
|
|
||||||
print(f"HEEELOOOO {client}")
|
print(f"HEEELOOOO {client}")
|
||||||
user, _ = await client.user_info()
|
user, _ = await client.user_info()
|
||||||
username: str = user.email
|
username: str = user.email # type: ignore
|
||||||
return username
|
return username
|
||||||
except Exception:
|
except Exception:
|
||||||
self.logger.exception("got exception while performing request")
|
self.logger.exception("got exception while performing request")
|
||||||
|
Loading…
Reference in New Issue
Block a user