Better success msg
This commit is contained in:
parent
cfafabc3d8
commit
939ae84a10
|
@ -89,7 +89,7 @@ fn main() {
|
||||||
while let Some(edit_code) = edit_codes.next() {
|
while let Some(edit_code) = edit_codes.next() {
|
||||||
match edit_paste(&client, &csrf_data, &edit_code, PASTE_NAME) {
|
match edit_paste(&client, &csrf_data, &edit_code, PASTE_NAME) {
|
||||||
Ok(_) => {
|
Ok(_) => {
|
||||||
println!("Paste deleted successfully with edit code: {edit_code}");
|
println!("Success, found edit code: {edit_code}");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Err(e) => match e {
|
Err(e) => match e {
|
||||||
|
|
Loading…
Reference in a new issue