The UN did not exist then.
There was a speech by GHW Bush in 1992 where he explicitly states that from now on the American people would pledge allegiance to the UN.
.
They called it the “League of Nations back then, but it is the same thing.
Truman is the jerk that signed the UN treaty, but it is no different than Wilson’s garbage.