Dependency cleanup

This commit is contained in:
Darren Clarke 2024-08-07 12:02:33 +02:00
parent 2d892779bf
commit 2568547384
28 changed files with 170 additions and 482 deletions

View file

@ -162,14 +162,6 @@ export const getTicketStatesAction = async () => {
path: "/api/v1/ticket_states",
});
return states;
};
export const getTicketTagsAction = async () => {
const states = await executeREST({
path: "/api/v1/tags",
});
const formattedStates =
states?.map((state: any) => ({
value: state.id,
@ -179,6 +171,14 @@ export const getTicketTagsAction = async () => {
return formattedStates;
};
export const getTicketTagsAction = async () => {
const tags = await executeREST({
path: "/api/v1/tags",
});
return tags;
};
export const getTicketPrioritiesAction = async () => {
const priorities = await executeREST({
path: "/api/v1/ticket_priorities",