link-stack/apps/link/app/_graphql/createTicketMutation.ts

14 lines
247 B
TypeScript
Raw Normal View History

2023-10-16 09:20:40 +02:00
import { gql } from "graphql-request";
export const createTicketMutation = gql`
mutation CreateTicket($ticketId: ID!, $input: TicketCreateInput!) {
ticketCreate(input: $input) {
ticket {
id
priority {
id
}
}
}
}`;