Skip to content

Commit d372b93

Browse files
committed
More CI changes.
1 parent ab709e0 commit d372b93

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

expected/http.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ FROM http_get('https://httpbin.org/anything', jsonb_build_object('this', 'that')
5151
-- GET with data
5252
SELECT status,
5353
content::json->'args' as args,
54-
content::json->>'data' as data,
54+
(content::json)->>'data' as data,
5555
content::json->'url' as url,
5656
content::json->'method' as method
57-
from http(('GET', 'https://httpbin.org/anything', NULL, 'application/json', '{"search": "toto"}'));
57+
FROM http(('GET', 'https://httpbin.org/anything', NULL, 'application/json', '{"search": "toto"}'));
5858
status | args | data | url | method
5959
--------+------+--------------------+--------------------------------+--------
6060
200 | {} | {"search": "toto"} | "https://httpbin.org/anything" | "GET"
@@ -156,7 +156,7 @@ WHERE field ILIKE 'Abcde';
156156

157157
-- Follow redirect
158158
SELECT status,
159-
content::json->'url' AS url
159+
(content::json)->'url' AS url
160160
FROM http_get('https://httpbin.org/redirect-to?url=get');
161161
status | url
162162
--------+---------------------------

sql/http.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ WHERE field ILIKE 'Abcde';
101101

102102
-- Follow redirect
103103
SELECT status,
104-
content::json->'url' AS url
104+
(content::json)->'url' AS url
105105
FROM http_get('https://httpbin.org/redirect-to?url=get');
106106

107107
-- Request image

0 commit comments

Comments
 (0)