Skip to content

Commit 660e32f

Browse files
Merge pull request Ashishkumbhar01#39 from CodeWithSushil/master
Update
2 parents 3354dc3 + 4fb5bf8 commit 660e32f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# These are supported funding model platforms
22

3-
github: Ashishkumbhar01
3+
github: [Ashishkumbhar01, CodeWithSushil]
44
patreon: Code_With_Sushil
55
open_collective: codewithsushil
66
ko_fi: # Replace with a single Ko-fi username

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)