Fix some small things (#658)

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

No files matched your search

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