Skip to content

Commit

Permalink
Remove unnecessary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
smrtrfszm committed Jun 30, 2024
1 parent 40aad50 commit f349be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/team/join.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub async fn join_team<S: StateTrait>(
topics::team_info(&team.id),
serde_json::to_vec(&Event::JoinTeam {
user: user.id,
name: user_info.name.clone(),
name: user_info.name,
})
.unwrap()
.into(),
Expand Down

0 comments on commit f349be0

Please sign in to comment.