main
rs 6 lines 257 Bytes
Raw
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 }