Skip to content

Commit 719a744

Browse files
update
1 parent 21b1d29 commit 719a744

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public function postData($table=null, $query=[], $on_conflict=null)
4545
}
4646

4747
$html = $this->grab($path, "POST", json_encode($query));
48-
return $html;
49-
}
48+
return $html;
49+
}
5050
}
5151

5252
public function updateData($table=null, ?int $id=null, $query=[])

src/Supabase.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ protected function grab($url, $method, $data=null)
2828
"Authorization: Bearer $this->apikey",
2929
'Content-Type: application/json',
3030
'Accept: application/json',
31-
'Content-Type: application/x-www-form-urlencoded',
3231
'Prefer: return=minimal',
3332
'Range: 0-9',
3433
'Prefer: resolution=merge-duplicates'

0 commit comments

Comments
 (0)