Skip to content

Commit b2c9c24

Browse files
committed
fix: Remove response body check in POST
1 parent a2dc9e5 commit b2c9c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/trino/client/statement_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def post_query_request!
8585
end
8686

8787
if response
88-
if response.status == 200 && !response.body.to_s.empty?
88+
if response.status == 200
8989
@results_headers = response.headers
9090
@results = decode_model(uri, parse_body(response), @models::QueryResults)
9191
return

0 commit comments

Comments
 (0)