mirror of
https://github.com/jonathan-martz/pocketbase-php-sdk.git
synced 2026-04-03 07:27:42 +00:00
Compare commits
1 Commits
testdriven
...
vv2.0.1-be
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
76038f8bfb |
@@ -163,7 +163,6 @@ class Collection
|
|||||||
|
|
||||||
if (self::$token != '') {
|
if (self::$token != '') {
|
||||||
$headers = array(
|
$headers = array(
|
||||||
'Content-Type:application/json',
|
|
||||||
'Authorization: ' . self::$token
|
'Authorization: ' . self::$token
|
||||||
);
|
);
|
||||||
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
|
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ class Settings
|
|||||||
|
|
||||||
if (self::$token != '') {
|
if (self::$token != '') {
|
||||||
$headers = array(
|
$headers = array(
|
||||||
'Content-Type:application/json',
|
|
||||||
'Authorization: ' . self::$token
|
'Authorization: ' . self::$token
|
||||||
);
|
);
|
||||||
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
|
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
|
||||||
|
|||||||
Reference in New Issue
Block a user