change the asynchronity

This commit is contained in:
2024-07-25 22:38:00 +02:00
parent 754a115043
commit 8b6dbc83c7
6 changed files with 13 additions and 23 deletions

View File

@ -33,8 +33,7 @@ pub async fn render_index() -> Result<IndexTemplate, StatusCode> {
get_popular_blog_tags(),
get_featured_posts(),
get_featured_projects()
)
.map_err(|_| StatusCode::INTERNAL_SERVER_ERROR)?;
)?;
Ok(IndexTemplate {
site_footer,