alternator bolt?

Ok well I just finished doing an sr swap, engine starts and everything.

I do get the battery light after about 3-4 minutes of idle.

There are 3 things that plug into the alternator. A plug, a ground wire and then another one that looks like a ground. So what i want to know is do both of those grounds need to be screwed in, cuz one of them won’t fit, because i believe the stud ripped out of the alternator?

The ground wire im referring to is the one on the outer side of the alternator, with a thicker wire.

the ground is the thinner one with the 8mm bolt that threads into the alternator.
the other thicker wire that goes around the stud is power.