Skip to content

Commit 4dfa3ed

Browse files
committed
fix: pkName should be allawys "id", if not it doesn't match with "/components/parameters"
maybe more a workaround than a fix. Better way would be to fix components
1 parent 0b2d3c6 commit 4dfa3ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8616,7 +8616,7 @@ private function setPath(string $tableName) /*: void*/
86168616
$parameters = ['filter', 'include', 'exclude', 'order', 'size', 'page', 'join'];
86178617
}
86188618
} else {
8619-
$path = sprintf('/records/%s/{%s}', $tableName, $pkName);
8619+
$path = sprintf('/records/%s/{%s}', $tableName, 'id'); // $pkName);
86208620
if ($operation == 'read') {
86218621
$parameters = ['pk', 'include', 'exclude', 'join'];
86228622
} else {

0 commit comments

Comments
 (0)