Update ticket priority
- [x] BUG
- [ ] FEATURE
What happened: When updating ticket priority, it doesn't update.
What did you expect to happen: The ticket priority should be updated.
How to reproduce it (as minimally and precisely as possible):
Send a put request to update any ticket with the body of "priority": "[priorityId]"
Anything else we need to know?: No
Environment:
- Trudesk Version: 1.0.17
- OS (e.g. from /etc/os-release): Arch Linux
- Node.JS Version: 18.7.0
- MongoDB Version: 5
- Is this hosted on cloud.trudesk.io: No
Are you really on version 1.0.17?
Yes, in this file https://github.com/polonel/trudesk/blob/f0933d72fc83b870e5d7d8e4cd74c3bb296ff145/src/controllers/api/v1/tickets.js#L717-L848 it doesn't handle updating the priority.
:tada: This issue has been resolved in version 1.2.7 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: