Skip to content

Commit 77987e1

Browse files
author
Etienne Fachaux
committed
fix(type): Token type fixed
1 parent cf37fd0 commit 77987e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nexus-plugin-security",
3-
"version": "0.1.3-next.3",
3+
"version": "0.1.3-next.4",
44
"license": "MIT",
55
"main": "dist/index.js",
66
"author": {

src/runtime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const plugin: RuntimePlugin<Settings, 'required'> = (settings) => (
3333
typeGen: {
3434
imports: [{ from: 'nexus/dist/lib/utils', as: 'utils' }],
3535
fields: {
36-
token: 'string',
36+
token: 'object | string | undefined',
3737
createToken: '(payload: string | object | Buffer) => string',
3838
},
3939
},

0 commit comments

Comments
 (0)