I think it is the first one but not sure
<h3>Complete this conversation that you overheard at a party with the correct indirect object pronoun.</h3>
Mariana: Es muy generosa. Ayer __________ prestó dinero (a mí).
Answer: Mariana: Es muy generosa. Ayer me prestó dinero (a mí).
Mariana: She is very generous. Yesterday she lent me money (to me).