Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
youngsofun committed Mar 3, 2022
1 parent a91087c commit 02ad7fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion query/src/servers/http/v1/query/http_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,9 @@ impl HttpQuery {
page_no: usize,
init: bool,
) -> Result<HttpQueryResponseInternal> {
let data = self.get_page(page_no).await?;
Ok(HttpQueryResponseInternal {
data: Some(self.get_page(page_no).await?),
data: Some(data),
initial_state: if init {
Some(self.get_initial_state().await)
} else {
Expand Down

0 comments on commit 02ad7fa

Please sign in to comment.