mirror of
https://github.com/Luzifer/mediatimeline.git
synced 2024-11-08 06:40:06 +00:00
Fix pagination
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
3f327825d7
commit
9fcbb4f443
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ func (s *store) GetTweetPage(page int) []tweet {
|
||||||
num = len(s.s) - start
|
num = len(s.s) - start
|
||||||
}
|
}
|
||||||
|
|
||||||
return s.s[start:num]
|
return s.s[start : start+num]
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetTweetsSince returns all tweets newer than the given tweet ID
|
// GetTweetsSince returns all tweets newer than the given tweet ID
|
||||||
|
|
Loading…
Reference in a new issue