From e5410e9c8eba91c8f772564965e7a5341ae7392b Mon Sep 17 00:00:00 2001 From: didirus4 Date: Thu, 19 Jun 2025 03:46:54 +0300 Subject: [PATCH] fixed: unexpected error in crate visibility from minecraft_auth.rs --- packages/app-lib/src/state/minecraft_auth.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/app-lib/src/state/minecraft_auth.rs b/packages/app-lib/src/state/minecraft_auth.rs index 164c4a3f3..66ccd5fb9 100644 --- a/packages/app-lib/src/state/minecraft_auth.rs +++ b/packages/app-lib/src/state/minecraft_auth.rs @@ -571,7 +571,11 @@ const MICROSOFT_CLIENT_ID: &str = "00000000402b5328"; const REDIRECT_URL: &str = "https://login.live.com/oauth20_desktop.srf"; const REQUESTED_SCOPES: &str = "service::user.auth.xboxlive.com::MBI_SSL"; -struct RequestWithDate { +/* AstralRinth + * Weird visibility issue that didn't reproduce before + * Had to make DeviceToken and RequestWithDate pub(crate) to fix compilation error + */ +pub(crate) struct RequestWithDate { pub date: DateTime, pub value: T, }