Skip to content

Commit

Permalink
Update mutations.mdx format
Browse files Browse the repository at this point in the history
  • Loading branch information
JulissaDantes authored Feb 7, 2024
1 parent 245dcad commit dfd57de
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/composedb/guides/data-interactions/mutations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ Users will generate data as they interact with your app. Your app needs to perfo
```graphql
# Create post

mutation CreateNewPost($i: CreatePostInput!){
createPost(input: $i){
document{
id
title
text
}
mutation CreateNewPost($i: CreatePostInput!) {
createPost(input: $i) {
document{
id
title
text
}
}
}

Expand Down Expand Up @@ -108,7 +108,7 @@ mutation UpdatePost($i: UpdatePostInput!) {
document {
id
title
text
text
}
}
}
Expand Down

0 comments on commit dfd57de

Please sign in to comment.