Trying to get to the bottom of something
swoosh pr / Rustfmt (pull_request) Successful in 30s
Release Tagging / release (pull_request) Failing after 33s
swoosh pr / Check (pull_request) Has been cancelled
swoosh pr / Clippy (pull_request) Has been cancelled

This commit is contained in:
2026-06-26 21:34:40 -04:00
parent 6bdec12084
commit 0bb8679e61
+3 -1
View File
@@ -37,6 +37,8 @@ pub async fn send_message(
let params = init_params(contact, msg, config, param);
println!("Params: {params:?}");
let url = format!(
"https://api.twilio.com/2010-04-01/Accounts/{}/Messages.json",
config.account_sid
@@ -83,7 +85,7 @@ fn init_params(
};
if param.schedule && is_scheduleable(Some(&now), Some(&scheduled_at)) {
params.insert(String::from("ScheduleType"), String::from("fixed"));
params.insert(String::from("SendAt"), date);
params.insert(String::from("SendAt"), date.clone());
}
params.insert(String::from("SendAsMms"), String::from("true"));
params.insert(String::from("RiskCheck"), String::from("enable"));