Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d36483e6f8 |
+4
-2
@@ -58,8 +58,10 @@ impl SendMsg {
|
|||||||
};
|
};
|
||||||
|
|
||||||
let url = twilio::api::twilio_url(&self.config.account_sid);
|
let url = twilio::api::twilio_url(&self.config.account_sid);
|
||||||
let headers =
|
let headers = match twilio::api::init_headers(
|
||||||
match twilio::api::init_headers(&self.config.account_sid, &self.config.auth_token) {
|
&self.config.account_sid,
|
||||||
|
&self.config.auth_token,
|
||||||
|
) {
|
||||||
Ok(headers) => headers,
|
Ok(headers) => headers,
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
return Err(std::io::Error::other(err));
|
return Err(std::io::Error::other(err));
|
||||||
|
|||||||
Reference in New Issue
Block a user