refactor: cleanup

remove dead code
This commit is contained in:
Emil Sergeev committed 2024-06-03 23:45:29 +05:00
1 parent 7722fc39fc
commit b4f350c979
1 file changed
-8
-8
View File
@@ -11,7 +11,6 @@ send_post_request() {
local url="$1"
shift
# printf "POST -> $credentials_dir\n"
curl -s -X POST "$url" -d "$@" -H "Content-Type: application/x-www-form-urlencoded"
}
@@ -131,13 +130,6 @@ main () {
exit 1
fi
# Check if required arguments are provided
if [ -z "$login" ]; then
echo "no login"
exit 1
fi
password=$(get_password "$login")
if [ -z "$password" ]; then
echo "no password file"