mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 01:10:22 +03:00
[PR #273] [MERGED] fix(account): call correct function to set own profile picture #888
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pocket-id/pocket-id/pull/273
Author: @Pyxels
Created: 2/27/2025
Status: ✅ Merged
Merged: 3/1/2025
Merged by: @stonith404
Base:
main← Head:fix/profile-pic/non_admin_upload📝 Commits (1)
61bed86fix(account): call correct function to set own profile picture📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
backend/internal/controller/user_controller.go(+1 -1)📄 Description
Very minor fix to allow setting ones own profile picture.
Issue
When uploading a picture on
/settings/account, a 500 is returned by the backend due to an invalid UUID.Fix
Call the correct function to populate the UUID with ones own.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.