Skip to content

Commit

Permalink
Add schema before saving template
Browse files Browse the repository at this point in the history
  • Loading branch information
nieznanysprawiciel committed Mar 22, 2024
1 parent dfea1af commit a1dd869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/ui/certificate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl DocumentEditor for CertificateEditor {
subject: Some(self.subject_editor.get_subject()),
validity_period: Some(self.validity_period_editor.get_validity_period()),
};
json!({ "certificate": certificate })
json!({ "$schema": SIGNED_CERTIFICATE_SCHEMA_ID, "certificate": certificate })
}

fn create_signed_document(
Expand Down

0 comments on commit a1dd869

Please sign in to comment.