Skip to content

Commit 05d161b

Browse files
authored
Merge branch 'dev' into issue-339-no-heartbeats-in-response
2 parents 79da468 + 29585a4 commit 05d161b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

primitives/src/sentry.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ pub struct AggregateEvents {
127127
pub struct ChannelListResponse {
128128
pub channels: Vec<Channel>,
129129
pub total_pages: u64,
130+
pub total: u64,
131+
pub page: u64,
130132
}
131133

132134
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq)]

sentry/src/db/channel.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ mod list_channels {
168168

169169
Ok(ChannelListResponse {
170170
total_pages,
171+
total: total_pages,
172+
page: skip / limit as u64,
171173
channels,
172174
})
173175
}

0 commit comments

Comments
 (0)