Formally speaking, number 2 is the correct one from a grammtical point of view. However, number 1 is also acccepted - it's just a stylistic variation to "season" the language. Hope this helps!
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.