diff --git a/graphql.md b/graphql.md index f03d722fe..b4491d887 100644 --- a/graphql.md +++ b/graphql.md @@ -218,7 +218,7 @@ See: [sogko/graphql-shorthand-notation-cheat-sheet](https://raw.githubuserconten ```js type Mutation { - users(params: ListUsersInput) [User]! + users(params: ListUsersInput): [User]! } ``` @@ -258,7 +258,7 @@ type Album { ยทยทยท } union Result = Artist | Album type Query { - search(q: String) [Result] + search(q: String): [Result] } ``` {: data-line="4"}