Long story short - I work for company ABC as a consultant. ABC has a contract with XYZ, where I'm basically staff-augmented in a year-long engagement, alongside another junior dev.
He's smart but he's new to the field, and requires a lot of hand-holding. This usually takes ~2 hours out of my day every day, which I'm fine with.
Yesterday I took ~30 minutes to help him track down an issue that he was working on for 4 hours, and today he said he solved the problem.
My relationship with the customer is a little shaky right now due to some elements outside of my control, so anything I can do to make them know I'm providing value would help.
But when my colleague doesn't mention my contributions, it's a little frustrating as I'm actively trying to nurture this customer relationship, and I can't go and say "My colleague failed to mention that I fixed his stuff".
What's the proper way to approach this as diplomatically as possible?