Skip to content

#15 ticket for admin-reject endpoint#28

Open
charlesr332 wants to merge 8 commits intomainfrom
adminreject
Open

#15 ticket for admin-reject endpoint#28
charlesr332 wants to merge 8 commits intomainfrom
adminreject

Conversation

@charlesr332
Copy link
Collaborator

@charlesr332 charlesr332 commented Nov 21, 2025

Describe your changes

Added /admin/artworks/[id]/reject PATCH endpoint

Issue ticket number and link

#15

Does your code meet the acceptance criteria?

  • Yes

Testing done and screenshots (if relevant)

We couldn't test code that required data in the database, but everything else works
Make sure to run npm install and npx prisma generate before testing

Other comments

Wasn't sure if rejection_reason is a required field but we made it one anyways

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.

[Backend] Allow the admin to reject a piece of artwork admin/artworks/[id]/reject | Charles, Vicky, & Ysabella

1 participant