mirror of https://github.com/go-gitea/gitea
Return an empty string when a repo has no avatar in the repo API (#31187)
Resolves #31167. https://github.com/go-gitea/gitea/pull/30885 changed the behavior of `repo.AvatarLink()` where it can now take the empty string and append it to the app data URL. This does not point to a valid avatar image URL, and, as the issue mentions, previous Gitea versions returned the empty string. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>pull/31216/head
parent
a4275951ba
commit
ab458ce10b
Loading…
Reference in new issue