Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return an empty string when a repo has no avatar in the repo API (go-…
…gitea#31187) Backport go-gitea#31187 Resolves go-gitea#31167. go-gitea#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 <[email protected]>
- Loading branch information