Skip to content

Commit

Permalink
fix: Remove reference to topic with clone()
Browse files Browse the repository at this point in the history
  • Loading branch information
HarryET committed Oct 26, 2022
1 parent e1fffc1 commit 775f09d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ impl Providers {
let mut reader = BufReader::new(&*decoded);

let apns_client =
ApnsProvider::new_cert(&mut reader, password.clone(), endpoint, topic)?;
ApnsProvider::new_cert(&mut reader, password.clone(), endpoint, topic.clone())?;

Ok(apns_client)
}
Expand Down

0 comments on commit 775f09d

Please sign in to comment.