From a92924bab0acb6f15d5fb739c851b0233aced629 Mon Sep 17 00:00:00 2001 From: Daksh <41485688+Daksh14@users.noreply.github.com> Date: Mon, 30 Dec 2024 18:46:25 -0500 Subject: [PATCH] fix error --- rusk-wallet/src/gql.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rusk-wallet/src/gql.rs b/rusk-wallet/src/gql.rs index d942a17e8..731198b1f 100644 --- a/rusk-wallet/src/gql.rs +++ b/rusk-wallet/src/gql.rs @@ -191,11 +191,11 @@ impl GraphQL { let response = self .query(&query) .await - .map_err(|err| Error::ArchivalJsonError(err.to_string()))?; + .map_err(|err| Error::ArchiveJsonError(err.to_string()))?; let response = serde_json::from_slice::(&response) - .map_err(|err| Error::ArchivalJsonError(err.to_string()))?; + .map_err(|err| Error::ArchiveJsonError(err.to_string()))?; Ok(response) }