Skip to content

Commit ccaee38

Browse files
committed
rename argument
1 parent 1f1cfea commit ccaee38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/data.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ function error_msg_handling(e)
2323
return nothing
2424
end
2525

26-
function get(url; extra_error_message = "")
26+
function get(query; extra_error_message = "")
2727
try
28-
r = HTTP.request("GET", string(API_URL, url))
28+
r = HTTP.request("GET", string(API_URL, query))
2929
return JSON.parse(String(r.body))
3030
catch e
3131
error_msg_handling(e)

0 commit comments

Comments
 (0)