mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-27 19:27:07 +02:00
improved htmlerror ergonomics
This commit is contained in:
@@ -24,8 +24,7 @@ pub async fn show_privacy_policy(
|
||||
user: auth.current_user,
|
||||
},
|
||||
state.templates.clone(),
|
||||
)
|
||||
.map_err(|e| HtmlError::from_template_error(e, state.templates.clone()))?;
|
||||
)?;
|
||||
|
||||
Ok(output.into_response())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user