The National aeronautics and space administration gave the astronauts a course correction. How did the word “astronauts” function in this sentence?
Direct object
Indirect object
Object of a preposition
Predicate