Skip to content
Snippets Groups Projects
Commit 60f20c44 authored by Éloïs's avatar Éloïs
Browse files

[fix] gva: all cursors must be String

parent 1be1f2b3
No related branches found
No related tags found
1 merge request!1337Ref/isolate gva
......@@ -48,7 +48,7 @@ impl UdsQuery {
#[graphql(default)] filter: UdsFilter,
#[graphql(desc = "pagination", default)] pagination: Pagination,
#[graphql(desc = "Amount needed")] amount: Option<i64>,
) -> async_graphql::Result<Connection<usize, UdGva, AggregateSum, EmptyFields>> {
) -> async_graphql::Result<Connection<String, UdGva, AggregateSum, EmptyFields>> {
let pagination = Pagination::convert_to_page_info(pagination)?;
let pubkey = PublicKey::from_base58(&pubkey)?;
......@@ -121,7 +121,7 @@ impl UdsQuery {
.zip(times.into_iter())
.map(|((bn, sa), blockchain_time)| {
Edge::new(
bn.0 as usize,
bn.0.to_string(),
UdGva {
amount: sa.amount(),
base: sa.base(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment