chore: return organization's display name and icon in templates (#13858)

* chore: templates return organization display name and icon
* templates api response includes organization display name and icon
This commit is contained in:
Steven Masley
2024-07-10 05:06:49 -10:00
committed by GitHub
parent bf392ffea4
commit 7bb3e0db4a
18 changed files with 140 additions and 34 deletions
+2
View File
@@ -117,6 +117,8 @@ func (q *sqlQuerier) GetAuthorizedTemplates(ctx context.Context, arg GetTemplate
&i.CreatedByAvatarURL,
&i.CreatedByUsername,
&i.OrganizationName,
&i.OrganizationDisplayName,
&i.OrganizationIcon,
); err != nil {
return nil, err
}