return 1
fi
- _contains "$response" "Action completed successful"
+ _contains "$response" "Operation successful"
}
return 1
fi
- _contains "$response" "Action completed successful" || _contains "$response" "Domain record already exists"
+ _contains "$response" "Operation successful" || _contains "$response" "Domain record already exists"
}
#################### Private functions below ##################################
return 1
fi
- if _contains "$response" "Action completed successful"; then
+ if _contains "$response" "Operation successful"; then
_domain_id=$(printf "%s\n" "$response" | _egrep_o "\"id\":\"[^\"]*\"" | cut -d : -f 2 | tr -d \")
_debug _domain_id "$_domain_id"
if [ "$_domain_id" ]; then