add new user set avatar and profile background

This commit is contained in:
gitGnome
2026-04-28 11:16:37 +02:00
parent 6f7a913e64
commit 8697cd2632
10 changed files with 203 additions and 228 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ type GetKeyOptions struct {
UploadType DataType
}
func GetKey(opts GetKeyOptions) string {
func GetKey(opts *GetKeyOptions) string {
extensions, err := mime.ExtensionsByType(opts.MimeType)
if err != nil || len(extensions) == 0 {
extensions = []string{".unknown"}