mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
Fix bug
This commit is contained in:
parent
a856111810
commit
6d1b89c436
@ -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 => {
|
||||
|
Loading…
Reference in New Issue
Block a user