get rid of printlns
This commit is contained in:
parent
5a322eca5f
commit
c5b6f4e993
1 changed files with 0 additions and 2 deletions
|
@ -46,7 +46,6 @@ fn main() -> Result<(), Error> {
|
|||
let mut payload = String::new();
|
||||
io::stdin().read_to_string(&mut payload)?;
|
||||
let payload: Payload = serde_json::from_str(&payload)?;
|
||||
println!("secret = {}", config.secret);
|
||||
|
||||
let secret = GenericArray::from_iter(config.secret.bytes());
|
||||
let mut mac = Hmac::<Sha1>::new(&secret);
|
||||
|
@ -58,7 +57,6 @@ fn main() -> Result<(), Error> {
|
|||
.map(|b| format!("{:02x}", b))
|
||||
.collect::<Vec<_>>()
|
||||
.join("");
|
||||
println!("sig = {}", signature);
|
||||
|
||||
let auth = payload
|
||||
.headers
|
||||
|
|
Loading…
Reference in a new issue