You've already forked AstralRinth
forked from didirus/AstralRinth
Fix some small things (#658)
This commit is contained in:
@@ -10,7 +10,6 @@ pub fn init<R: tauri::Runtime>() -> TauriPlugin<R> {
|
||||
cancel_flow,
|
||||
login_pass,
|
||||
login_2fa,
|
||||
login_minecraft,
|
||||
create_account,
|
||||
refresh,
|
||||
logout,
|
||||
@@ -49,11 +48,6 @@ pub async fn login_2fa(code: &str, flow: &str) -> Result<ModrinthCredentials> {
|
||||
Ok(theseus::mr_auth::login_2fa(code, flow).await?)
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub async fn login_minecraft(flow: &str) -> Result<ModrinthCredentialsResult> {
|
||||
Ok(theseus::mr_auth::login_minecraft(flow).await?)
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub async fn create_account(
|
||||
username: &str,
|
||||
|
||||
Reference in New Issue
Block a user