Skip to content

Commit c14693b

Browse files
authored
Update README.md
1 parent 50c8ec7 commit c14693b

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
@@ -46,7 +46,7 @@ swapiClient.species(page = 2)
4646

4747
It's also possible to fetch a single resource from its URL. Each domain model has a unique URL. For example, to fetch `https://swapi.co/api/people/1/`
4848

49-
```
49+
```kotlin
5050
val lukeSkywalker = swapiClient.character("https://swapi.co/api/people/1/")
5151
```
5252

0 commit comments

Comments
 (0)