Fix segmentation fault in token resources by adding nil checksFIXEs...
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
Fix segmentation fault in token resources by adding nil checks
FIXEs #6617
Follows the same pattern already used in group_service_account_access_token. There are 5 token resources and 13 locations total. 6 of them already had nil checks, I added nil checks in 7 of them.
Edited by 🤖 GitLab Bot 🤖