Skip to content

Commit 205f34e

Browse files
committed
fix(oauth2): Fixed Gmail API OAuth2 schema
1 parent 75fac9e commit 205f34e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/schemas.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ const oauthCreateSchema = {
12151215
.base64({ paddingRequired: false, urlSafe: true })
12161216
.max(512)
12171217
.example('AAAAAQAACnA')
1218-
.valid(false, null)
1218+
.allow(false, null)
12191219
.description('Cloud Pub/Sub app for Gmail API webhooks'),
12201220

12211221
extraScopes: Joi.any()

0 commit comments

Comments
 (0)