Skip to content

Commit ae9841d

Browse files
committed
fix: update type of refresh token
1 parent b669f57 commit ae9841d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ts/packages/core/src/types/connectedAccountAuthStates.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const Oauth2ActiveConnectionDataSchema = Oauth2InitiatingConnectionDataSc
9191
access_token: z.string().optional(),
9292
id_token: z.string().optional(),
9393
token_type: z.string().optional(),
94-
refresh_token: z.string().optional(),
94+
refresh_token: z.string().nullish(),
9595
expires_in: z.union([z.string(), z.number(), z.null()]).optional(),
9696
scope: z.union([z.string(), z.array(z.string())]).optional(),
9797
// previously verification_token, will be sent as verification_token to slack

0 commit comments

Comments
 (0)