[PR #273] [MERGED] fix(account): call correct function to set own profile picture #888

Open
opened 2025-10-07 00:24:06 +03:00 by OVERLORD · 0 comments
Owner

📋 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: mainHead: fix/profile-pic/non_admin_upload


📝 Commits (1)

  • 61bed86 fix(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.

## 📋 Pull Request Information **Original PR:** https://github.com/pocket-id/pocket-id/pull/273 **Author:** [@Pyxels](https://github.com/Pyxels) **Created:** 2/27/2025 **Status:** ✅ Merged **Merged:** 3/1/2025 **Merged by:** [@stonith404](https://github.com/stonith404) **Base:** `main` ← **Head:** `fix/profile-pic/non_admin_upload` --- ### 📝 Commits (1) - [`61bed86`](https://github.com/pocket-id/pocket-id/commit/61bed86ce3b0ea8614fa70de666f6be7efe4719d) fix(account): call correct function to set own profile picture ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/internal/controller/user_controller.go` (+1 -1) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2025-10-07 00:24:06 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#888