diff --git a/scripts/get_emojis_mastodon.sh b/scripts/get_emojis_mastodon.sh index b49a811..a0bb815 100755 --- a/scripts/get_emojis_mastodon.sh +++ b/scripts/get_emojis_mastodon.sh @@ -25,9 +25,9 @@ echo "Creating $emojiFolder if it doesn't exist" mkdir -p "$emojiFolder" -# load $MASTODON_INSTANCE/api/v1/custom_emojis with curl into a variable +# load $mastodon_instance/api/v1/custom_emojis with curl into a variable -customEmojisJson=$(curl -s "$MASTODON_INSTANCE/api/v1/custom_emojis") +customEmojisJson=$(curl -s "$mastodon_instance/api/v1/custom_emojis") shortcodes=$(echo "$customEmojisJson" | jq -r '.[].shortcode')