Skip to content

feat(event): let the assigned member remove an event photo - #236

Merged
wen-templari merged 1 commit into
mainfrom
feat/remove-event-photo
Oct 18, 2026
Merged

wen-templari merged 1 commit into
mainfrom
feat/remove-event-photo

Conversation

@m1ngsama

Copy link
Copy Markdown
Member

Members cannot take back a photo they uploaded by mistake.

DELETE /member/events/{EventId}/photos/{PhotoId} removes the photo and returns the updated event. Only the assigned member or an admin can call it, and only while the event is accepted or committed, the same rules as upload. The OSS object is deleted after the database row; a failed object delete is logged and does not fail the request.

@wen-templari
wen-templari merged commit 17737db into main Oct 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants