Skip to content

Commit

Permalink
fix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed May 31, 2014
1 parent dc454e0 commit 724e29e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/timeline/src/main/Getter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import tube.entryTube
private[timeline] final class Getter(userMax: Int) {

def userEntries(userId: String): Fu[List[Entry]] =
_userEntries(userId, userMax)
userEntries(userId, userMax)

def moreUserEntries(userId: String): Fu[List[Entry]] =
_userEntries(userId, 100)
userEntries(userId, 100)

private def _userEntries(userId: String, max: Int): Fu[List[Entry]] =
private def userEntries(userId: String, max: Int): Fu[List[Entry]] =
$find[Entry](
$query[Entry](Json.obj("users" -> userId)) sort $sort.desc("date"),
max)
Expand Down

0 comments on commit 724e29e

Please sign in to comment.