diff options
author | elioat <elioat@tilde.institute> | 2022-12-01 12:25:54 -0500 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2022-12-01 12:25:54 -0500 |
commit | 66a0ba16caa3a650eaa5a6e601e98251573e57b3 (patch) | |
tree | 31cf41900d4db7e401acf2e99e2ffeb66137b0e2 /src | |
parent | 55071038ef6d6587693248ea0669eebe551e70e3 (diff) | |
download | december-2022-66a0ba16caa3a650eaa5a6e601e98251573e57b3.tar.gz |
*
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)) |