fix: api_key getting

This commit is contained in:
Cyber 2024-08-02 06:03:50 +00:00
parent e1d998d91e
commit 26c828e413

View File

@ -1,5 +1,5 @@
API_HOST="https://api.ssh.surf"
API_KEY=$(cat .api-key)
API_KEY=$(cat /var/tools/container-expire-notifs/.api-key)
if [ ! $API_KEY ]; then
notif "API key not found. Please re-run \`/enable-expire-notifs\`"