File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,6 @@ mod list_channels {
125
125
creator : & Option < String > ,
126
126
validator : & Option < ValidatorId > ,
127
127
valid_until_ge : & DateTime < Utc > ,
128
- page : u64 ,
129
128
) -> Result < ChannelListResponse , RunError < bb8_postgres:: tokio_postgres:: Error > > {
130
129
let validator = validator. as_ref ( ) . map ( |validator_id| {
131
130
serde_json:: Value :: from_str ( & format ! ( r#"[{{"id": "{}"}}]"# , validator_id) )
@@ -170,7 +169,7 @@ mod list_channels {
170
169
Ok ( ChannelListResponse {
171
170
total_pages,
172
171
total : total_pages,
173
- page,
172
+ page : skip / limit as u64 ,
174
173
channels,
175
174
} )
176
175
}
Original file line number Diff line number Diff line change @@ -89,7 +89,6 @@ pub async fn channel_list<A: Adapter>(
89
89
& query. creator ,
90
90
& query. validator ,
91
91
& query. valid_until_ge ,
92
- query. page ,
93
92
)
94
93
. await ?;
95
94
You can’t perform that action at this time.
0 commit comments