aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorveronoicc <64193056+veronoicc@users.noreply.github.com>2023-12-28 22:50:55 +0100
committerGitHub <noreply@github.com>2023-12-28 15:50:55 -0600
commitcacb04718dd4142bded181d004f1fa40fe7ae178 (patch)
treeb4a158ff93a3b649e50e85c43bdec5ca4e0e787c
parentddf85a1be769b8e6aa8e78e783674ea6fe7c8484 (diff)
downloadazalea-drasl-cacb04718dd4142bded181d004f1fa40fe7ae178.tar.xz
Make check_ownership pub (#126)
-rwxr-xr-xazalea-auth/src/auth.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-auth/src/auth.rs b/azalea-auth/src/auth.rs
index efb0daa1..67a45aa3 100755
--- a/azalea-auth/src/auth.rs
+++ b/azalea-auth/src/auth.rs
@@ -522,7 +522,7 @@ pub enum CheckOwnershipError {
Http(#[from] reqwest::Error),
}
-async fn check_ownership(
+pub async fn check_ownership(
client: &reqwest::Client,
minecraft_access_token: &str,
) -> Result<bool, CheckOwnershipError> {