aboutsummaryrefslogtreecommitdiff
path: root/azalea-auth/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-auth/src')
-rwxr-xr-xazalea-auth/src/auth.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea-auth/src/auth.rs b/azalea-auth/src/auth.rs
index b7f834d4..dbdf3f0f 100755
--- a/azalea-auth/src/auth.rs
+++ b/azalea-auth/src/auth.rs
@@ -209,6 +209,7 @@ pub struct GameOwnershipItem {
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct ProfileResponse {
+ // todo: make the id a uuid
pub id: String,
pub name: String,
pub skins: Vec<serde_json::Value>,
@@ -463,7 +464,7 @@ pub enum GetProfileError {
Http(#[from] reqwest::Error),
}
-async fn get_profile(
+pub async fn get_profile(
client: &reqwest::Client,
minecraft_access_token: &str,
) -> Result<ProfileResponse, GetProfileError> {