From ab709e07afbea154eab5e54b5cd9cbbcf8728c34 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Wed, 11 Sep 2024 09:26:04 -0700 Subject: [PATCH] Interversion json parsing issues in CI --- sql/http.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/http.sql b/sql/http.sql index c85f654..5668bc2 100644 --- a/sql/http.sql +++ b/sql/http.sql @@ -32,10 +32,10 @@ FROM http_get('https://httpbin.org/anything', jsonb_build_object('this', 'that') -- GET with data SELECT status, content::json->'args' as args, -content::json->>'data' as data, +(content::json)->>'data' as data, content::json->'url' as url, content::json->'method' as method -from http(('GET', 'https://httpbin.org/anything', NULL, 'application/json', '{"search": "toto"}')); +FROM http(('GET', 'https://httpbin.org/anything', NULL, 'application/json', '{"search": "toto"}')); -- DELETE SELECT status,