Either tense is fine. The Simple Past is often used instead of Past Perfect in cases where the sequence of events is clear, as it is in your example. Consider this simpler example.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.