Skip to content

Commit 8a1006e

Browse files
committed
- domain - event_submission - RateLimit - serde rename limit_type to type
1 parent 6ca669b commit 8a1006e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sentry/src/domain/event_submission.rs

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ pub struct Rule {
1919
#[serde(rename_all = "camelCase")]
2020
pub struct RateLimit {
2121
/// "ip", "uid"
22+
#[serde(rename = "type")]
2223
pub limit_type: String,
2324
/// in milliseconds
2425
#[serde(rename = "timeframe")]

0 commit comments

Comments
 (0)