fixed 'added 'refreshToken', converted to 'httpOnly', added SSL
fixed 'gql-types' generator
This commit is contained in:
parent
d179b8c7c8
commit
c190d368de
20 changed files with 314 additions and 179 deletions
|
|
@ -19,6 +19,6 @@ export async function BooksManyResolver(
|
|||
__: any,
|
||||
{ identity }: IdentityContext
|
||||
): Promise<Book[]> {
|
||||
if (identity == null) throw Error('Unauthorized');
|
||||
if (identity == null) throw new Error('Unauthorized');
|
||||
return books;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue