diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-02-10 10:27:05 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-02-10 10:27:05 +0900 |
| commit | ff7bb97d8ee04a6a56aaea8a09f9b4d7170f2064 (patch) | |
| tree | 54440ed27272a0c75fdd2ba9d3b83b095993c27c /src/api/bot | |
| parent | wip (diff) | |
| download | sharkey-ff7bb97d8ee04a6a56aaea8a09f9b4d7170f2064.tar.gz sharkey-ff7bb97d8ee04a6a56aaea8a09f9b4d7170f2064.tar.bz2 sharkey-ff7bb97d8ee04a6a56aaea8a09f9b4d7170f2064.zip | |
wip
Diffstat (limited to 'src/api/bot')
| -rw-r--r-- | src/api/bot/core.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/bot/core.ts b/src/api/bot/core.ts index ddae6405f5..0a073a3127 100644 --- a/src/api/bot/core.ts +++ b/src/api/bot/core.ts @@ -305,7 +305,7 @@ class TlContext extends Context { private async getTl() { const tl = await require('../endpoints/posts/timeline')({ limit: 5, - max_id: this.next ? this.next : undefined + until_id: this.next ? this.next : undefined }, this.bot.user); if (tl.length > 0) { @@ -357,7 +357,7 @@ class NotificationsContext extends Context { private async getNotifications() { const notifications = await require('../endpoints/i/notifications')({ limit: 5, - max_id: this.next ? this.next : undefined + until_id: this.next ? this.next : undefined }, this.bot.user); if (notifications.length > 0) { |