fix: hotfix for vulnerabilities not conforming to the RestIssuable
We type all results of custom queries as RestIssuable
, which means that we expect them all to have author
. This is not the case for Vulnerabilities. The code was failing on trying to access the issuable.author.avatar_url
field.
Related to #608 (closed)