Skip to content

Commit 016d827

Browse files
committed
fix permissssions
1 parent 7bf3bda commit 016d827

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/index.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import _gql from "graphql-tag";
2-
import { createClient as _createClient } from "./fetchClient";
3-
import type { Gql } from "../generated/main";
4-
import type { TypedDocumentNode } from "@graphql-typed-document-node/core";
1+
import _gql from 'graphql-tag';
2+
import {createClient as _createClient} from './fetchClient';
3+
import type {Gql} from '../generated/main';
4+
import type {TypedDocumentNode} from '@graphql-typed-document-node/core';
55

66
const gql = _gql as Gql;
77

@@ -21,7 +21,7 @@ mutation verify($email: String! $code: String!) {
2121
`);
2222

2323
const permissionsQ = gql(`
24-
query permissions { permisssions }
24+
query permissions { permissions }
2525
`);
2626

2727
const logoutQ = gql(`mutation logout { logout }`);
@@ -40,5 +40,3 @@ export function createClient(endpoint: string) {
4040
logoutQ: wrapQuery(logoutQ),
4141
};
4242
}
43-
44-

0 commit comments

Comments
 (0)