They're both correct. Of course there's some ambiguity with the passive voice as to the identity of the actor(s). But the problem exists regardless of which version you choose.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.