Better success msg

This commit is contained in:
ItsDrike 2024-04-18 22:22:34 +02:00
parent 9ec4d31813
commit d5dd28b4e5
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -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 {