diff --git a/src/main/scala/algoliasearch/recommend/TimeRange.scala b/src/main/scala/algoliasearch/recommend/TimeRange.scala index 992d4f09..4120e5a2 100644 --- a/src/main/scala/algoliasearch/recommend/TimeRange.scala +++ b/src/main/scala/algoliasearch/recommend/TimeRange.scala @@ -37,6 +37,6 @@ package algoliasearch.recommend * When the rule should stop to be active, in Unix epoch time. */ case class TimeRange( - from: Int, - until: Int + from: Long, + until: Long ) diff --git a/src/main/scala/algoliasearch/search/TimeRange.scala b/src/main/scala/algoliasearch/search/TimeRange.scala index 1a3de4ba..e53042bc 100644 --- a/src/main/scala/algoliasearch/search/TimeRange.scala +++ b/src/main/scala/algoliasearch/search/TimeRange.scala @@ -41,6 +41,6 @@ package algoliasearch.search * When the rule should stop to be active, in Unix epoch time. */ case class TimeRange( - from: Int, - until: Int + from: Long, + until: Long )