diff --git a/forge/gitea/src/lib.rs b/forge/gitea/src/lib.rs index abfa6ce..ce24fe3 100644 --- a/forge/gitea/src/lib.rs +++ b/forge/gitea/src/lib.rs @@ -117,11 +117,11 @@ impl SCForge for Gitea { .await .unwrap(); - fn to_user(u: schema::User, g: &Gitea) -> Arc> { + fn to_user(u: schema::User, g: &Gitea) -> Arc { let mut profile_url = g.instance_url.clone(); profile_url.set_path(&u.username); let username = Arc::new(u.username); - Arc::new(User { + Arc::new(forge_core::User { username, html_link: profile_url.to_string(), profile_photo: Some(u.avatar_url),