They are both possible. "last night" associates with the presence of bad breath in the first sentence, and with the noticing of it in the second. " is actually potentially ambiguous.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.