In this application, users will be able to submit tickets (requests for help) with their coding work, technical questions, etc. Tickets will be created to be addressed by technicians. This application models the AskBCS and JIRA ticket systems.
The developer will create the server-side route to handle changes made to an individual ticket.
Acceptance critera:
[x] It is done when the router listens for a PUT request on '/api/ticket/:id" where ":id" is the requested id in the path parameter.
[ ] It is done when a function runs asynchronously to handle the response
[ ] It is done when IF the request body includes the "status": "Claimed" value, the currently authenticated user's id is also added to the request body.
[x] It is done when a Sequelize update query is made to the Ticket model.
The first argument should pass the request body to the model
The second argument should indicate where the change should be made (the parameter id)
[x] It is done when on successful update, the server responds with the newly updated ticket item.
[x] It is done when on failure, the client is informed of the error
Many of these check boxes will be completed by Leo, who currently has the first iteration of this assignment - double-check that whomever picks up this ticket is not doing double-work.
The developer will create the server-side route to handle changes made to an individual ticket.
Acceptance critera: