X-Git-Url: http://nitlanguage.org diff --git a/lib/github_api.nit b/lib/github_api.nit index f2e5a69..39fca84 100644 --- a/lib/github_api.nit +++ b/lib/github_api.nit @@ -53,7 +53,7 @@ class GithubCurl var response = request.execute if response isa CurlResponseSuccess then - var obj = response.body_str.json_to_nit_object + var obj = response.body_str.parse_json if obj isa JsonObject then if obj.keys.has("message") then print "Message from Github API: {obj["message"] or else ""}"