Here's a much more detailed article on the conference. The UN news article notes that it passed with
a small group of just seven countries holding out, having failed to pass a last-minute amendment.
Apparently, Russia proposed a last-minute amendment that "[the UN] system shall not intervene in matters which are essentially within the domestic jurisdiction of any State". Agreeing with Russia were Iran, Belarus, North Korea, Nicaragua, Sudan and Syria. Apparently an additional fifteen countries abstained, but I couldn't find a list of them.