Both forms are in use. The possessive form is still required for careful, formal writing, but the object form is becoming increasingly acceptable. Because your #2 sentence is quite simple, I think they are about equally common in this case.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.