Skip to content

Commit 71ab3e8

Browse files
authored
Merge pull request #26 from xsuchy09/main
Fix issue 25.
2 parents 9a2b257 + e1b022b commit 71ab3e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/QueryBuilder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,14 @@ public function build(): array
137137

138138
if (null !== $this->pit) {
139139
if (is_string($this->pit)) {
140-
$query['pit'] = ['id' => $this->pit];
140+
$query['body']['pit'] = ['id' => $this->pit];
141141
} else {
142-
$query['pit'] = $this->pit;
142+
$query['body']['pit'] = $this->pit;
143143
}
144144
}
145145

146146
if (null !== $this->searchAfter) {
147-
$query['search_after'] = $this->searchAfter;
147+
$query['body']['search_after'] = $this->searchAfter;
148148
}
149149

150150
if (null !== $this->source) {

0 commit comments

Comments
 (0)