From fce94103281ea419e906801a1e403ecc8ac3919b Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Mon, 25 Oct 2021 20:19:07 +0200 Subject: [PATCH] Fix typo in variable name: s/toekn/token/ --- scripts/yt-api-helper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/yt-api-helper.sh b/scripts/yt-api-helper.sh index c193c63..253cb66 100755 --- a/scripts/yt-api-helper.sh +++ b/scripts/yt-api-helper.sh @@ -271,7 +271,7 @@ case $endpoint_option in printf "Enter continuation token []: " read token - if [ -z $toekn ]; then echo "Error: token required"; return 1; fi + if [ -z $token ]; then echo "Error: token required"; return 1; fi partial_data="\"continuation\":\"${token}\"" fi ;; @@ -295,7 +295,7 @@ case $endpoint_option in printf "Enter continuation token []: " read token - if [ -z $toekn ]; then echo "Error: token required"; return 1; fi + if [ -z $token ]; then echo "Error: token required"; return 1; fi partial_data="\"continuation\":\"${token}\"" fi ;;