Skip to content

Commit

Permalink
fix(docs): update custom settings example (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedElywa authored May 22, 2022
1 parent 1b6bbf6 commit 8b56ec9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/pages/settings-gentime.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The above is equivalent to the following:

import { settings } from 'nexus-prisma/generator'

settings.change({
settings({
output: '../generated/nexus-prisma',
})
```
Expand Down
2 changes: 1 addition & 1 deletion src/cli/nexus-prisma.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ generatorHandler({
solution: `Create a configuration file in one of the following locations:\n\n${renderList(supportedSettingsModulePaths)}\n\nThen add the following code:\n\n${renderCodeBlock(dindist`
import { settings } from 'nexus-prisma/generator'
settings.change({
settings({
output: '${generator.output.value}'
})
`)}`,
Expand Down

1 comment on commit 8b56ec9

@vercel
Copy link

@vercel vercel bot commented on 8b56ec9 May 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.