Skip to content

Commit 11cde38

Browse files
committed
fix: remove unused properties & refactor
1 parent 0565834 commit 11cde38

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

sentry/src/db/channel.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ mod list_channels {
130130
serde_json::Value::from_str(&format!(r#"[{{"id": "{}"}}]"#, validator_id))
131131
.expect("Not a valid json")
132132
});
133-
134133
let (where_clauses, params) =
135134
channel_list_query_params(creator, validator.as_ref(), valid_until_ge);
136135
let total_count_params = (where_clauses.clone(), params.clone());

sentry/src/routes/cfg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pub async fn config<A: Adapter>(
88
_: Request<Body>,
99
app: &Application<A>,
1010
) -> Result<Response<Body>, ResponseError> {
11-
let config_str: String = serde_json::to_string(&app.config)?;
11+
let config_str = serde_json::to_string(&app.config)?;
1212

1313
Ok(Response::builder()
1414
.header(CONTENT_TYPE, "application/json")

0 commit comments

Comments
 (0)