Is the word, that is capitalized, a direct object or an indirect object?

Before my trip, Bonnie wished ME a safe flight.

a. Direct object

b. Indirect object

1 answer

b. Indirect object