Fix some small things (#658)

This commit is contained in:
Geometrically
2023-08-23 11:03:09 -04:00
committed by GitHub
parent 1eb8998296
commit 2fad02df23
12 changed files with 34 additions and 53 deletions

View File

@@ -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,