diff --git a/bml-tg-notify.sh b/bml-tg-notify.sh index cd9c425..6250095 100755 --- a/bml-tg-notify.sh +++ b/bml-tg-notify.sh @@ -47,6 +47,10 @@ then then FROMTOAT=At ENTITY=$(echo $HISTORY | jq -r .narrative3 | head -n1) #get last ATM name + elif [ "$DESCRIPTION" = "Purchase" ] + then + FROMTOAT=At + ENTITI=$(echo $HISTORY | jq -r .narrative3 | head -n1) elif [ "$DESCRIPTION" = "Salary" ] # if last trascation descripton is Salary then FROMTOAT=From