This commit is contained in:
William
2025-02-12 23:01:43 +08:00
parent fc89e36a37
commit 705200e538
+1 -1
View File
@@ -55,7 +55,7 @@ pub struct TipAccountResult {
impl TipAccountResult {
pub fn from(value: Value) -> Result<Self> {
let accounts = value
let accounts = value["result"]
.as_array()
.context("expected 'result' to be an array")?
.iter()