fix forbidden error
This commit is contained in:
parent
30333102a2
commit
e3110a5f50
@ -1,9 +1,9 @@
|
||||
'use server';
|
||||
import { createApolloClient } from '../apollo/client';
|
||||
import { getClientWithToken } from '../apollo/client';
|
||||
import * as GQL from '../types';
|
||||
|
||||
export async function createSlot(input: GQL.CreateSlotMutationVariables['input']) {
|
||||
const { mutate } = await createApolloClient();
|
||||
const { mutate } = await getClientWithToken();
|
||||
|
||||
// TODO: check slot does not overlap with others
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user