summaryrefslogtreecommitdiff
path: root/src/web/app/desktop/views/pages/user/user.timeline.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app/desktop/views/pages/user/user.timeline.vue')
-rw-r--r--src/web/app/desktop/views/pages/user/user.timeline.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/app/desktop/views/pages/user/user.timeline.vue b/src/web/app/desktop/views/pages/user/user.timeline.vue
index 1f0d0b1985..134ad423ce 100644
--- a/src/web/app/desktop/views/pages/user/user.timeline.vue
+++ b/src/web/app/desktop/views/pages/user/user.timeline.vue
@@ -62,7 +62,7 @@ export default Vue.extend({
fetch(cb?) {
(this as any).api('users/posts', {
userId: this.user.id,
- until_date: this.date ? this.date.getTime() : undefined,
+ untilDate: this.date ? this.date.getTime() : undefined,
with_replies: this.mode == 'with-replies'
}).then(posts => {
this.posts = posts;
@@ -76,7 +76,7 @@ export default Vue.extend({
(this as any).api('users/posts', {
userId: this.user.id,
with_replies: this.mode == 'with-replies',
- until_id: this.posts[this.posts.length - 1].id
+ untilId: this.posts[this.posts.length - 1].id
}).then(posts => {
this.moreFetching = false;
this.posts = this.posts.concat(posts);