No it does not depend on that at all.
There's no second party to this action, it's the US's alone. Even if we accept the electoral fraud claims, Venezuela did not ask for US intervention. The rightfully elected leader of a nation can't call for a second nation to invade and bomb their nation.
>The rightfully elected leader of a nation can't call for a second nation to invade and bomb their nation.
Why not?