Skip to content

Commit b75bded

Browse files
committed
fix: correct iat type to integer in payload validation schema
1 parent 468e7d0 commit b75bded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ JWTOption<Name, Schema>) => {
111111
jti: t.Optional(t.String()),
112112
nbf: t.Optional(t.Union([t.String(), t.Number()])),
113113
exp: t.Optional(t.Union([t.String(), t.Number()])),
114-
iat: t.Optional(t.String())
114+
iat: t.Optional(t.Integer())
115115
})
116116
]),
117117
{

0 commit comments

Comments
 (0)