remove debug lines

This commit is contained in:
cmj 2024-04-06 10:12:18 -07:00
parent d0259c4814
commit 25bbbea809

View file

@ -154,22 +154,7 @@ proc fetch*(url: Uri; api: Api; additional_headers: HttpHeaders = newHttpHeaders
fetchImpl(body, additional_headers): fetchImpl(body, additional_headers):
if body.startsWith('{') or body.startsWith('['): if body.startsWith('{') or body.startsWith('['):
result = parseJson(body) result = parseJson(body)
echo "-------------"
echo "api: ", api
echo "-------------"
echo "url: ", url
echo "-------------"
echo "added headers: ", additional_headers
echo "-------------"
else: else:
echo resp.status, ": ", body, " --- url: ", url
echo "*************"
echo url
echo "*************"
echo api
echo "*************"
echo additional_headers
echo "*************"
result = newJNull() result = newJNull()
let error = result.getError let error = result.getError