Skip to content

Commit

Permalink
Fix up count's parameters, fixing #2
Browse files Browse the repository at this point in the history
  • Loading branch information
gphat committed Feb 5, 2014
1 parent 07fa56c commit 1420a61
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/main/scala/io/keen/client/scala/Client.scala
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,18 @@ class Client(
def count(
collection: String,
filters: Option[String] = None,
timeframe: Option[String] = None): Future[Response] = {
timeframe: Option[String] = None,
timezone: Option[String] = None,
groupBy: Option[String]= None): Future[Response] = {

doQuery(
query = "count",
collection = collection,
targetProperty = None,
filters = filters,
timeframe = timeframe,
timezone = None,
groupBy = None)
timezone = timezone,
groupBy = groupBy)
}

/**
Expand Down

0 comments on commit 1420a61

Please sign in to comment.