diff options
| author | 2025-02-01 00:20:54 -0600 | |
|---|---|---|
| committer | 2025-02-01 00:20:54 -0600 | |
| commit | 6a1bb0980facadcc22cbae27f57782050e7924a1 (patch) | |
| tree | dafdd715f7fc3f42323bd20666bd653a73a30b68 /src/auth/msa.rs | |
| parent | do clippy stuff and change line endings (diff) | |
random changes
Diffstat (limited to 'src/auth/msa.rs')
| -rw-r--r-- | src/auth/msa.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth/msa.rs b/src/auth/msa.rs index 404329b..add345c 100644 --- a/src/auth/msa.rs +++ b/src/auth/msa.rs @@ -119,8 +119,8 @@ impl XSTSAuthSuccessResponse { self.get_display_claim("uhs") } - pub(super) fn get_xuid(&self) -> Option<Uuid> { - self.get_display_claim("xid").and_then(|s| s.parse().ok()).map(|n| Uuid::from_u64_pair(0, n)) + pub(super) fn get_xuid(&self) -> Option<&str> { + self.get_display_claim("xid") } pub(super) fn get_gamertag(&self) -> Option<&str> { |
