Skip to content

Commit

Permalink
convert args to &str
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominion5254 committed Dec 18, 2024
1 parent a78f2ea commit 458f22c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/startos/src/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -883,8 +883,8 @@ pub async fn test_system_smtp(ctx: RpcContext, smtp: SmtpValue) -> Result<(), Er
} = smtp;
if let Some(pass_val) = password {
let message = MessageBuilder::new()
.from((&from, &login))
.to(vec![(from, &login)])
.from((from.as_str(), login.as_str()))
.to(vec![(from, login.as_str())])
.subject("StartOS Test Email")
.text_body("Email credentials have been successfully setup on your StartOS Server");
SmtpClientBuilder::new(server, port)
Expand Down

0 comments on commit 458f22c

Please sign in to comment.