mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-13 13:37:31 -07:00
[mastodon-client] enforce limit for notifications
This commit is contained in:
parent
2080078b20
commit
6ce6a94ba7
1 changed files with 1 additions and 1 deletions
|
@ -2285,7 +2285,7 @@ export default class Misskey implements MegalodonInterface {
|
|||
if (options) {
|
||||
if (options.limit) {
|
||||
params = Object.assign(params, {
|
||||
limit: options.limit
|
||||
limit: options.limit <= 100 ? options.limit : 100
|
||||
})
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue