mirror of
https://github.com/yawaflua/Flask-Discord.git
synced 2025-12-10 04:19:31 +02:00
change return value of fetch_connections to list
This commit is contained in:
@@ -82,7 +82,7 @@ class DiscordOAuth2Session(_http.DiscordOAuth2HttpClient):
|
|||||||
"""
|
"""
|
||||||
return models.User(self.get("/users/@me"))
|
return models.User(self.get("/users/@me"))
|
||||||
|
|
||||||
def fetch_connections(self) -> models.UserConnection:
|
def fetch_connections(self) -> list:
|
||||||
"""Requests and returns connections of current user from discord.
|
"""Requests and returns connections of current user from discord.
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
|
|||||||
Reference in New Issue
Block a user