summaryrefslogtreecommitdiff
path: root/internal/typeutils/defaulticons.go
diff options
context:
space:
mode:
authorLibravatar Vyr Cossont <VyrCossont@users.noreply.github.com>2024-05-29 03:57:44 -0700
committerLibravatar GitHub <noreply@github.com>2024-05-29 12:57:44 +0200
commit975e92b7f1fb92c2c0475e9ec65fd2521625252c (patch)
tree0621f1f2ed6d1846e1edae6551d5a2e158b758ca /internal/typeutils/defaulticons.go
parent[feature] Debug admin endpoint to clear caches (#2940) (diff)
downloadgotosocial-975e92b7f1fb92c2c0475e9ec65fd2521625252c.tar.xz
[feature] Implement profile API (#2926)
* Implement profile API This Mastodon 4.2 extension provides capabilities missing from the existing Mastodon account update API: deleting an account's avatar or header. See: https://docs.joinmastodon.org/methods/profile/ * Move profile media methods to media processor * Remove check for moved account
Diffstat (limited to 'internal/typeutils/defaulticons.go')
-rw-r--r--internal/typeutils/defaulticons.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/typeutils/defaulticons.go b/internal/typeutils/defaulticons.go
index bcb7b8c10..e3a090109 100644
--- a/internal/typeutils/defaulticons.go
+++ b/internal/typeutils/defaulticons.go
@@ -119,7 +119,7 @@ func (c *Converter) ensureAvatar(account *apimodel.Account) {
account.AvatarStatic = avatar
}
-// EnsureAvatar ensures that the given account has a value set
+// ensureHeader ensures that the given account has a value set
// for the header URL.
//
// If no value is set, the default header will be set.