Signed-off-by: Cao Xueliang caoxl78320@163.com --- lib/assist_result_client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/assist_result_client.rb b/lib/assist_result_client.rb index 2d2e60d..d05de31 100644 --- a/lib/assist_result_client.rb +++ b/lib/assist_result_client.rb @@ -48,7 +48,7 @@ class AssistResult response = resource.get() return nil unless response.code == 200
- return response.body + return JSON.parse(response.body) end
def get_error_messages(job_id, error_id)