Why ionisation enthalpy of nitrogen is greater than that of oxygen?

Nitrogen has exactly half-filled orbitals, due to which it is difficult to remove an electron from the valence shell of N atoms