Skip to content

Commit

Permalink
sui-graphql-client: properly await pagination_filter query (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-mysten authored Oct 31, 2024
1 parent b155195 commit 79a0ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sui-graphql-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ impl Client {
after_version: Option<u64>,
before_version: Option<u64>,
) -> Result<Option<Page<MovePackage>>, Error> {
let (after, before, first, last) = self.pagination_filter(pagination_filter);
let (after, before, first, last) = self.pagination_filter(pagination_filter).await;
let operation = PackageVersionsQuery::build(PackageVersionsArgs {
address,
after: after.as_deref(),
Expand Down

0 comments on commit 79a0ed6

Please sign in to comment.