remove double &
This commit is contained in:
parent
d625322305
commit
d127f54f0c
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ pub async fn channel_id_by_name(api: &mattermost_api::client::Mattermost, salon:
|
|||
match get_channel_info(api).await {
|
||||
Ok(channels) => {
|
||||
for channel in &channels {
|
||||
if &channel.name == &salon {
|
||||
if channel.name == salon {
|
||||
return channel.id.clone();
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue