[Clikinet] Fix bug
This commit is contained in:
parent
fd4770cf92
commit
fceb0fa717
3 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
this.more = () => {
|
this.more = () => {
|
||||||
this.api('posts/timeline', {
|
return this.api('posts/timeline', {
|
||||||
max_id: this.refs.timeline.tail().id
|
max_id: this.refs.timeline.tail().id
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
this.more = () => {
|
this.more = () => {
|
||||||
this.offset += this.max;
|
this.offset += this.max;
|
||||||
this.api('posts/search', {
|
return this.api('posts/search', {
|
||||||
query: this.query,
|
query: this.query,
|
||||||
max: this.max,
|
max: this.max,
|
||||||
offset: this.offset
|
offset: this.offset
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
this.more = () => {
|
this.more = () => {
|
||||||
this.api('users/posts', {
|
return this.api('users/posts', {
|
||||||
user_id: this.user.id,
|
user_id: this.user.id,
|
||||||
with_media: this.withMedia,
|
with_media: this.withMedia,
|
||||||
max_id: this.refs.timeline.tail().id
|
max_id: this.refs.timeline.tail().id
|
||||||
|
|
Loading…
Reference in a new issue