Skip to content

Commit ca040b8

Browse files
update
1 parent f104583 commit ca040b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Supabase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ protected function grab(string $url, string $method, ?string $data=null)
5050
$ch = curl_init();
5151
curl_setopt_array($ch, $options);
5252
if(isset($data)){
53-
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
53+
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
5454
}
5555
$html = curl_exec($ch);
5656
return $html;

0 commit comments

Comments
 (0)