Skip to content

Commit 7be6ac2

Browse files
author
Mike van den Hoek
committed
(feat): form settings fetch types with status 'definitief' only
1 parent 30cea46 commit 7be6ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GravityForms/ZaaktypenFormSettings/Adapters/ClientAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ protected function fetchTypes(string $emptyMessage, string $endpoint): array
9595

9696
while ($page) {
9797
try {
98-
$result = $this->client->$endpoint()->all((new ResultaattypenFilter())->page($page));
98+
$result = $this->client->$endpoint()->all((new ResultaattypenFilter())->byStatus('definitief')->page($page));
9999
} catch (Exception $e) {
100100
$requestException = $e->getMessage();
101101

0 commit comments

Comments
 (0)