Skip to content

Commit

Permalink
Added missing required email in insert examples (#448)
Browse files Browse the repository at this point in the history
Co-authored-by: Bulygin Evgeny <tyztuz.gmail.com>
  • Loading branch information
nesb1 committed Jul 27, 2022
1 parent cea2b8f commit e0c51cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -184,6 +184,7 @@ async def main() -> None:
user = await prisma.user.create(
data={
'name': 'Robert',
'email': 'robert@craigie.dev'
},
)

Expand All @@ -208,6 +209,7 @@ async def main() -> None:
user = await User.prisma().create(
data={
'name': 'Robert',
'email': 'robert@craigie.dev'
},
)

Expand Down
2 changes: 2 additions & 0 deletions docs/index.md
Expand Up @@ -184,6 +184,7 @@ async def main() -> None:
user = await prisma.user.create(
data={
'name': 'Robert',
'email': 'robert@craigie.dev'
},
)

Expand All @@ -208,6 +209,7 @@ async def main() -> None:
user = await User.prisma().create(
data={
'name': 'Robert',
'email': 'robert@craigie.dev'
},
)

Expand Down

0 comments on commit e0c51cd

Please sign in to comment.