|
1
|
use smbcloud_model::{error_codes::ErrorResponse, oauth::UserInfo}; |
|
2
|
|
|
3
|
#[tauri::command] |
|
4
|
pub async fn get_profile(access_token: String) -> Result<UserInfo, ErrorResponse> { |
|
5
|
smbcloud_networking_account::oauth::get_profile::get_profile(access_token).await |
|
6
|
} |