Skip to content

Delete product image on product deletion#29

Open
VighneshManjrekar wants to merge 1 commit into
bradtraversy:mainfrom
VighneshManjrekar:main
Open

Delete product image on product deletion#29
VighneshManjrekar wants to merge 1 commit into
bradtraversy:mainfrom
VighneshManjrekar:main

Conversation

@VighneshManjrekar

Copy link
Copy Markdown

Earlier after deleting product admin or users (whoever have system access) have to manually delete deleted product images. With this commit controller will handle the image delete only if it is uploaded by the user (images inside "/upload" folder).

Comment thread frontend/src/components/Product.jsx
@VighneshManjrekar

Copy link
Copy Markdown
Author

@bushblade I have removed the recent commit.

@bushblade

Copy link
Copy Markdown
Collaborator

Thanks @VighneshManjrekar
I won't merge immediately as I need to document the changes for students to follow and just a bit busy with other stuff right now.

@bushblade bushblade self-assigned this Nov 29, 2023
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