You've already forked AstralRinth
forked from didirus/AstralRinth
fixed: unexpected error in crate visibility from minecraft_auth.rs
This commit is contained in:
@@ -571,7 +571,11 @@ const MICROSOFT_CLIENT_ID: &str = "00000000402b5328";
|
|||||||
const REDIRECT_URL: &str = "https://login.live.com/oauth20_desktop.srf";
|
const REDIRECT_URL: &str = "https://login.live.com/oauth20_desktop.srf";
|
||||||
const REQUESTED_SCOPES: &str = "service::user.auth.xboxlive.com::MBI_SSL";
|
const REQUESTED_SCOPES: &str = "service::user.auth.xboxlive.com::MBI_SSL";
|
||||||
|
|
||||||
struct RequestWithDate<T> {
|
/* 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<T> {
|
||||||
pub date: DateTime<Utc>,
|
pub date: DateTime<Utc>,
|
||||||
pub value: T,
|
pub value: T,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user