diff --git a/acmed/src/template.rs b/acmed/src/template.rs index 2b46975..7bc07bb 100644 --- a/acmed/src/template.rs +++ b/acmed/src/template.rs @@ -1,3 +1,4 @@ +use acme_common::error::Error; use minijinja::{value::Value, Environment}; use serde::Serialize; @@ -9,7 +10,7 @@ fn formatter_rev_labels(value: Value) -> Result { } } -pub fn render_template(template: &str, data: &T) -> Result +pub fn render_template(template: &str, data: &T) -> Result where T: Serialize, {