Skip to content

Commit 1fe2cdb

Browse files
Update RecordId logic to use Str::finish()
1 parent 92f7347 commit 1fe2cdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/FileMakerConnection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ public function getRecords(FMBaseBuilder $query)
298298

299299
// handle single record requests
300300
if ($query->getRecordId() !== null) {
301-
$url .= (Str::endsWith($url, '/') ? '' : '/') . $query->getRecordId();
301+
$url = Str::finish($url, '/') . $query->getRecordId();
302302
} else {
303303
// handle pagination and sorting
304304
// these parameters are not used for single record requests

0 commit comments

Comments
 (0)