Skip to content

Commit

Permalink
chore: satisfy clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Zak <[email protected]>
  • Loading branch information
rjzak committed Feb 23, 2024
1 parent 05df133 commit 683c72b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/server/src/users/put.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub async fn put(
claims: OidcClaims,
cx: UserContext,
meta: Meta,
Json(ref record): Json<UserRecord>,
Json(record): Json<UserRecord>,
) -> impl IntoResponse {
trace!(target: "app::users::put", "called for `{cx}`");

Expand All @@ -29,7 +29,7 @@ pub async fn put(
}

store
.create_user(&cx, meta, record)
.create_user(&cx, meta, &record)
.await
.map_err(|e| {
debug!(target: "app::users::put", "failed for `{cx}`: {:?}", e);
Expand Down

0 comments on commit 683c72b

Please sign in to comment.