The resolution will now head to the president's desk, where he's most likely going to veto it.