diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pokedex.rkt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokedex.rkt b/src/pokedex.rkt index a9c7f89..2a6230b 100644 --- a/src/pokedex.rkt +++ b/src/pokedex.rkt @@ -17,7 +17,7 @@ ;; info about this form, ;; https://medium.com/chris-opperwall/practical-racket-using-a-json-rest-api-3d85eb11cc2d (define (get-pokemon id) - (call/input-url (string->url (~a "https://pokeapi.co/api/v2/pokemon/" id)) + (call/input-url (string->url (~a "https://pokeapi.co/api/v2/pokemon/" id)) ; ~a, like string-append but appends *either* strings or numbers to a string get-pure-port port->string)) |