Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
neilkakkar committed Jun 20, 2024
1 parent bb2ee09 commit 8c60f92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust/feature-flags/src/flag_definitions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl FeatureFlagList {

let query = "SELECT id, team_id, name, key, filters, deleted, active, ensure_experience_continuity FROM posthog_featureflag WHERE team_id = $1";
let flags_row = sqlx::query_as::<_, FeatureFlagRow>(query)
.bind(&team_id)
.bind(team_id)
.fetch_all(&mut *conn)
.await?;

Expand Down
2 changes: 1 addition & 1 deletion rust/feature-flags/src/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ pub async fn insert_flags_for_team_in_pg(
let payload_flag = match flag {
Some(value) => value,
None => FeatureFlagRow {
id: id,
id,
key: "flag1".to_string(),
name: Some("flag1 description".to_string()),
active: true,
Expand Down

0 comments on commit 8c60f92

Please sign in to comment.