Skip to content

Commit 20efbb2

Browse files
committed
Fix readme
1 parent b0b24c0 commit 20efbb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ let mutation = MyExampleMutation()
104104

105105
### Fetching the query/perform mutation
106106
```swift
107-
let apiAdapter = GraphQLAPIAdapter(url: URL("https://MyAPIUrl.com")!)
107+
let apiAdapter = GraphQLAPIAdapter(url: URL(string: "https://MyAPIUrl.com")!)
108108
let queryResult = await apiAdapter.fetch(query: query)
109109
let mutationResult = await apiAdapter.perform(mutation: mutation)
110110
```

0 commit comments

Comments
 (0)