Use server actions instead of client-side API calls
This commit is contained in:
parent
5a3127dcb0
commit
aa453954ed
30 changed files with 703 additions and 462 deletions
|
|
@ -1,7 +1,4 @@
|
|||
import { gql } from "graphql-request";
|
||||
|
||||
export const createTicketMutation = gql`
|
||||
mutation CreateTicket($ticketId: ID!, $input: TicketCreateInput!) {
|
||||
export const createTicketMutation = `mutation CreateTicket($input: TicketCreateInput!) {
|
||||
ticketCreate(input: $input) {
|
||||
ticket {
|
||||
id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue