get_emojis_mastodon.sh: fix specifying instance by argv[1]
This commit is contained in:
parent
b2418b6cf1
commit
7801ac0dc0
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue