fix: add missing nil check on create group with avatar
-
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.
There was a missing nil check when a group is created/updated with an avatar that caused the code to panic. This update adds the nil check and related test.
Edited by 🤖 GitLab Bot 🤖