Skip to content

Commit 3fddef1

Browse files
committed
fix(signed-doc): revert
Signed-off-by: bkioshn <[email protected]>
1 parent 949e4dc commit 3fddef1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rust/signed_doc/src/metadata/doc_type.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ impl From<DocType> for Vec<Uuid> {
9797
}
9898
}
9999

100+
impl From<DocType> for Vec<String> {
101+
fn from(val: DocType) -> Self {
102+
val.0.into_iter().map(|uuid| uuid.to_string()).collect()
103+
}
104+
}
105+
100106
impl TryFrom<Vec<UuidV4>> for DocType {
101107
type Error = DocTypeError;
102108

0 commit comments

Comments
 (0)