aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bridges/GettrBridge.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/GettrBridge.php b/bridges/GettrBridge.php
index c6c5f99a..5ecc5c83 100644
--- a/bridges/GettrBridge.php
+++ b/bridges/GettrBridge.php
@@ -30,7 +30,7 @@ class GettrBridge extends BridgeAbstract
$api = sprintf(
'https://api.gettr.com/u/user/%s/posts?offset=0&max=%s&dir=fwd&incl=posts&fp=f_uo',
$this->getInput('user'),
- max($this->getInput('limit'), 20)
+ min($this->getInput('limit'), 20)
);
$data = json_decode(getContents($api), false);