Skip to content

Commit 472e491

Browse files
authored
Merge pull request #76
use the HTTP facade instead of manually creating a new request
2 parents cdfd2af + cdbb9a8 commit 472e491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/FileMakerConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ protected function prepareRequestForSending($request = null)
697697
if (method_exists(Factory::class, 'createPendingRequest')) {
698698
$request = Http::createPendingRequest();
699699
} else {
700-
$request = new PendingRequest();
700+
$request = Http::acceptJson();
701701
}
702702
}
703703

0 commit comments

Comments
 (0)