Skip to content

Commit

Permalink
fix: build release contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRibera committed Jul 16, 2024
1 parent d7c7d8e commit c8d9f2b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pages/contributors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ async fn fetch_contributors() -> Result<Vec<Contributor>> {

let res: leptos::serde_json::Value = client
.post("https://api.github.com/graphql")
.json(&request_body)
.send()
.await?
.json()
Expand Down Expand Up @@ -94,11 +95,11 @@ pub fn Contributors() -> impl IntoView {
<ContributorCard
name=item.login.clone()
description=item.bio.clone()
link=item.html_url.clone()
link=item.url.clone()
brand_src=item.avatar_url.clone()
twitter=item.twitter_username.clone()
location=item.location.clone()
contributions=item.contributions.unwrap_or(1)
contributions=item.contributions_collection.total_commit_contributions
/>
}
};
Expand Down

0 comments on commit c8d9f2b

Please sign in to comment.