summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-17 15:41:42 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-17 15:41:42 +0900
commit40ce8f9532d18d36dbabb7e77da80c0bb4c6a6f2 (patch)
tree42d36080b0eddd1b6d17d94d980c32832f230f77 /src
parentoops (diff)
downloadsharkey-40ce8f9532d18d36dbabb7e77da80c0bb4c6a6f2.tar.gz
sharkey-40ce8f9532d18d36dbabb7e77da80c0bb4c6a6f2.tar.bz2
sharkey-40ce8f9532d18d36dbabb7e77da80c0bb4c6a6f2.zip
Fix bug
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/views/components/timeline.core.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/desktop/views/components/timeline.core.vue b/src/client/app/desktop/views/components/timeline.core.vue
index 8056e5b2c4..1e98f087e1 100644
--- a/src/client/app/desktop/views/components/timeline.core.vue
+++ b/src/client/app/desktop/views/components/timeline.core.vue
@@ -88,7 +88,7 @@ export default Vue.extend({
fetch(cb?) {
this.fetching = true;
- (this as any).api('notes/timeline', {
+ (this as any).api(this.endpoint, {
limit: 11,
untilDate: this.date ? this.date.getTime() : undefined
}).then(notes => {
@@ -106,7 +106,7 @@ export default Vue.extend({
more() {
if (this.moreFetching || this.fetching || this.notes.length == 0 || !this.existMore) return;
this.moreFetching = true;
- (this as any).api('notes/timeline', {
+ (this as any).api(this.endpoint, {
limit: 11,
untilId: this.notes[this.notes.length - 1].id
}).then(notes => {