mirror of
https://github.com/aljazceru/cdk.git
synced 2026-01-06 22:45:53 +01:00
NUT-06: add urls field
This commit is contained in:
@@ -78,6 +78,7 @@ impl JsMintInfo {
|
||||
contact: Option<Vec<JsContactInfo>>,
|
||||
nuts: JsValue,
|
||||
icon_url: Option<String>,
|
||||
urls: Option<Vec<String>>,
|
||||
motd: Option<String>,
|
||||
time: Option<u64>,
|
||||
) -> Result<JsMintInfo> {
|
||||
@@ -92,6 +93,7 @@ impl JsMintInfo {
|
||||
.map(|contacts| contacts.iter().map(|c| c.deref().clone()).collect()),
|
||||
nuts: serde_wasm_bindgen::from_value(nuts).map_err(into_err)?,
|
||||
icon_url,
|
||||
urls,
|
||||
motd,
|
||||
time,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user