fixed 'added 'refreshToken', converted to 'httpOnly', added SSL

fixed 'gql-types' generator
This commit is contained in:
lnn0q 2025-04-06 19:57:14 +03:00
parent d179b8c7c8
commit c190d368de
20 changed files with 314 additions and 179 deletions

View file

@ -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;
}