From fad157ad2981ee5096d98ab29a4c5af820361cbc Mon Sep 17 00:00:00 2001 From: imnyang Date: Thu, 9 Jan 2025 22:18:05 +0900 Subject: [PATCH] =?UTF-8?q?=ED=95=98=ED=95=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/gen-config.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/gen-config.sh b/app/gen-config.sh index 941a045..060a38c 100644 --- a/app/gen-config.sh +++ b/app/gen-config.sh @@ -1,7 +1,7 @@ #!/bin/bash # Required environment variables -required_vars=("BOT_ROOT" "BOT_INSTAGRAM_ID" "BOT_INSTAGRAM_PASSWD" "BOT_KEY" "BOT_WEBHOOK_URL") +required_vars=("BOT_ROOT" "BOT_INSTAGRAM_ID" "BOT_INSTAGRAM_PASSWD" "BOT_INSTAGRAM_TOTP" "BOT_KEY" "BOT_WEBHOOK_URL") # Check for missing environment variables missing_vars=() @@ -23,6 +23,7 @@ cat > config.json << EOF "ROOT": "${BOT_ROOT}", "INSTAGRAM_ID": "${BOT_INSTAGRAM_ID}", "INSTAGRAM_PASSWORD": "${BOT_INSTAGRAM_PASSWORD}", + "INSTAGRAM_TOTP": "${BOT_INSTAGRAM_TOTP}", "KEY": "${BOT_KEY}", "WEBHOOK_URL": "${BOT_WEBHOOK_URL}" }