Skip to content

Commit 8d08686

Browse files
committed
Fix HubSpot auth validation
1 parent a8bbcf1 commit 8d08686

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

plugins/hubspot/src/auth.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ const TokensSchema = v.object({
55
access_token: v.string(),
66
refresh_token: v.string(),
77
expires_in: v.number(),
8-
scope: v.string(),
9-
token_type: v.literal("Bearer"),
8+
token_type: v.literal("bearer"),
109
})
1110

1211
type Tokens = v.InferOutput<typeof TokensSchema>
@@ -22,7 +21,6 @@ type StoredTokens = v.InferOutput<typeof StoredTokensSchema>
2221

2322
const AuthorizeSchema = v.object({
2423
url: v.string(),
25-
writeKey: v.string(),
2624
readKey: v.string(),
2725
})
2826

0 commit comments

Comments
 (0)