From e61b72df69d0d3c1c1489362998f52e21fdf6a95 Mon Sep 17 00:00:00 2001 From: adnanjpg Date: Sat, 30 Dec 2023 19:44:08 +0300 Subject: [PATCH] refactor: remove apikey param from simple_sender --- examples/simple_sender.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/simple_sender.rs b/examples/simple_sender.rs index c047f2f63..6a634b801 100644 --- a/examples/simple_sender.rs +++ b/examples/simple_sender.rs @@ -12,15 +12,12 @@ async fn main() -> Result<(), Box> { pretty_env_logger::init(); let mut device_token = String::new(); - let mut api_key = String::new(); { let mut ap = ArgumentParser::new(); ap.set_description("A simple FCM notification sender"); ap.refer(&mut device_token) .add_option(&["-t", "--device_token"], Store, "Device token"); - ap.refer(&mut api_key) - .add_option(&["-k", "--api_key"], Store, "API key"); ap.parse_args_or_exit(); }