[PATCH compass-ci] assist-result-client: fix git bisect email subject is the "["

21 Apr
2021
21 Apr
'21
4:12 p.m.
Need use json parse the data, before return the response. 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 592c841..2d2e60d 100644 --- a/lib/assist_result_client.rb +++ b/lib/assist_result_client.rb @@ -60,6 +60,6 @@ class AssistResult response = resource.post(Base64.encode64(data.to_json)) return nil unless response.code == 200 - return response.body + return JSON.parse(response.body) end end -- 2.23.0
1407
Age (days ago)
1407
Last active (days ago)
0 comments
1 participants
participants (1)
-
Cao Xueliang