mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 10:13:09 +02:00
[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.api('posts/timeline', {
|
||||
return this.api('posts/timeline', {
|
||||
max_id: this.refs.timeline.tail().id
|
||||
});
|
||||
};
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
this.more = () => {
|
||||
this.offset += this.max;
|
||||
this.api('posts/search', {
|
||||
return this.api('posts/search', {
|
||||
query: this.query,
|
||||
max: this.max,
|
||||
offset: this.offset
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
});
|
||||
|
||||
this.more = () => {
|
||||
this.api('users/posts', {
|
||||
return this.api('users/posts', {
|
||||
user_id: this.user.id,
|
||||
with_media: this.withMedia,
|
||||
max_id: this.refs.timeline.tail().id
|
||||
|
|
Loading…
Reference in a new issue