Both are grammatical, but the latter is quite vague. The former is clear enough, in my opinion. azz You shouldn't thank me.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
azzYou shouldn't thank me. I should thank you.I should be the one to thank you.