Skip to content

Commit 6e483d7

Browse files
committed
fix: correct the option schema
1 parent 2cd6fbf commit 6e483d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/gatsby-node.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export const pluginOptionsSchema: NonNullable<
3131
version: joi.string().optional(),
3232
databases: joi.array().items(joi.string()).optional(),
3333
pages: joi.array().items(joi.string()).optional(),
34-
ttl: joi
34+
previewCallRate: joi.number().optional(),
35+
previewTTL: joi
3536
.object({
3637
databaseMeta: joi.number().optional(),
3738
databaseEntries: joi.number().optional(),

0 commit comments

Comments
 (0)