From ec02b6e97a5afe7dc7c37357caaef4e45a90b70a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Sejkora?= Date: Mon, 22 Feb 2021 18:55:55 +0100 Subject: [PATCH] =?UTF-8?q?P=C5=99id=C3=A1no=20varov=C3=A1n=C3=AD=20pro=20?= =?UTF-8?q?pou=C5=BEit=C3=AD=20tokenu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/upload-bot.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/upload-bot.rs b/src/upload-bot.rs index 9782145..30a7ee0 100644 --- a/src/upload-bot.rs +++ b/src/upload-bot.rs @@ -15,6 +15,7 @@ mod db; fn main() { let args: Vec<_> = std::env::args().collect(); + // WARNING: Never do this on a multiuser system, read from env variables instead! let api_token = match args.get(1) { Some(token) => token, None => {