[mastodon-client] enforce limit for notifications
This commit is contained in:
parent
19470265f3
commit
bd1faa9ab3
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