Skip to content

Commit ffbf66f

Browse files
committed
fix: cap users in mentions request to 100
1 parent 0267ae9 commit ffbf66f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

twitterv1/post_viewing.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -955,6 +955,9 @@ func mentions_timeline(c *fiber.Ctx) error {
955955
count = countInt
956956
}
957957
}
958+
if count > 100 {
959+
count = 100
960+
}
958961

959962
// Get notifications
960963
bskyNotifications, err := blueskyapi.GetMentions(*pds, *oauthToken, count, context)

0 commit comments

Comments
 (0)