Skip to content

Commit 41163ee

Browse files
authored
Merge pull request #248 from it-can/main
Filterable is not working on models with only an endpoint defined
2 parents d0a1c51 + dc564ae commit 41163ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Picqer/Financials/Moneybird/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ public function getEndpoint()
454454
*/
455455
public function getFilterEndpoint()
456456
{
457-
return $this->filter_endpoint ?? $this->endpoint;
457+
return $this->filter_endpoint ?: $this->endpoint;
458458
}
459459

460460
/**

0 commit comments

Comments
 (0)