Skip to content

Commit 15e7416

Browse files
committed
Merge branch 'aip-61-adex-v5' into replace_serde_urlencoded
2 parents e6ddb43 + a6bc1d8 commit 15e7416

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

primitives/src/chain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ impl ChainId {
2323
Self(id)
2424
}
2525

26-
pub fn as_u32(self) -> u32 {
26+
pub fn to_u32(self) -> u32 {
2727
self.0
2828
}
2929
}

sentry/src/db/analytics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub async fn get_analytics(
2727
query
2828
.chains
2929
.iter()
30-
.map(|id| id.as_u32().to_string())
30+
.map(|id| id.to_u32().to_string())
3131
.collect::<Vec<String>>()
3232
.join(",")
3333
));

0 commit comments

Comments
 (0)