Expand description
Add an email address to the currently logged in user
use gitea_rust_sdk::{client::Client, user::emails::add_email, URL, TOKEN};
use tokio;
#[tokio::main]
async fn main()
{
let client = Client::new(&URL, &TOKEN, "schorch/gitea_rust_sdk").unwrap();
let email = add_email(client.clone(), "foo@bar.at").await;
}