Skip to content

Commit

Permalink
Merge pull request #65 from ceramicnetwork/jd/docs-patch-1
Browse files Browse the repository at this point in the history
Update mutations.mdx format
  • Loading branch information
JustinaPetr authored Mar 22, 2024
2 parents f836dda + dfd57de commit 5b36751
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 5b36751

Please sign in to comment.