Skip to content

Commit 84b7085

Browse files
authored
Increasing the limit to 1000 (#7)
1 parent d3b9c44 commit 84b7085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contentful-typescript-codegen.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async function runCodegen(outputFile: string) {
4242
const getEnvironmentPath = path.resolve(process.cwd(), "./getContentfulEnvironment.js")
4343
const getEnvironment = require(getEnvironmentPath)
4444
const environment = await getEnvironment()
45-
const contentTypes = await environment.getContentTypes()
45+
const contentTypes = await environment.getContentTypes({ limit: 1000 })
4646
const locales = await environment.getLocales()
4747
const output = await render(contentTypes.items, locales.items)
4848

0 commit comments

Comments
 (0)