summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Travelynx/Helper/Traewelling.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travelynx/Helper/Traewelling.pm b/lib/Travelynx/Helper/Traewelling.pm
index bd0aa45..4d6c180 100644
--- a/lib/Travelynx/Helper/Traewelling.pm
+++ b/lib/Travelynx/Helper/Traewelling.pm
@@ -76,8 +76,8 @@ sub get_status_p {
$self->{user_agent}->request_timeout(20)
->get_p(
- "https://traewelling.de/api/v1/user/${username}/statuses" => $header )
- ->then(
+ "https://traewelling.de/api/v1/user/${username}/statuses?limit=1" =>
+ $header )->then(
sub {
my ($tx) = @_;
if ( my $err = $tx->error ) {