syntax error near unexpected token `elif' fix

This commit is contained in:
Shihaam Abdul Rahman 2021-05-14 01:54:39 +05:00
parent aa1013c944
commit f3eb98f89a

View File

@ -40,6 +40,7 @@ then
FROMTOAT=To
ENTITY=$(echo $HISTORY | jq -r .narrative3 | head -n1)
elif [ "$DESCRIPTION" = "ATM Withdrawal" ]
then
FROMTOAT=At
ENTITY=$(echo $HISTORY | jq -r .narrative3 | head -n1)
elif [ "$DESCRIPTION" = "Salary" ]