node: Use CJSON for identities

Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
Alexis Sellier
2022-09-13 10:16:05 +02:00
parent 46ee08aaf3
commit c80ba01ed9
3 changed files with 18 additions and 10 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ impl Repository {
Err(e) => return Err(e.into()),
Ok(doc) => doc,
};
let doc = identity::Doc::from_toml(doc.content()).unwrap();
let doc = identity::Doc::from_json(doc.content()).unwrap();
Ok(Some(doc))
}