aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/pdsuidomain/services/rest/RestInterventionService.scala
diff options
context:
space:
mode:
authorJakob Odersky <jakob@driver.xyz>2017-07-21 13:20:39 -0700
committerJakob Odersky <jakob@driver.xyz>2017-07-21 13:20:39 -0700
commit34fd432a627f71fc1b98a5b3186f120dd63cf3f8 (patch)
tree9db3d670bc53e280ea57ea483d5c464960aae94b /src/main/scala/xyz/driver/pdsuidomain/services/rest/RestInterventionService.scala
parent7f7bd651122754a3df47894b64ddb0456561bbe7 (diff)
downloadrest-query-34fd432a627f71fc1b98a5b3186f120dd63cf3f8.tar.gz
rest-query-34fd432a627f71fc1b98a5b3186f120dd63cf3f8.tar.bz2
rest-query-34fd432a627f71fc1b98a5b3186f120dd63cf3f8.zip
Abstract materializer
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuidomain/services/rest/RestInterventionService.scala')
-rw-r--r--src/main/scala/xyz/driver/pdsuidomain/services/rest/RestInterventionService.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/xyz/driver/pdsuidomain/services/rest/RestInterventionService.scala b/src/main/scala/xyz/driver/pdsuidomain/services/rest/RestInterventionService.scala
index aa59657..e593c3b 100644
--- a/src/main/scala/xyz/driver/pdsuidomain/services/rest/RestInterventionService.scala
+++ b/src/main/scala/xyz/driver/pdsuidomain/services/rest/RestInterventionService.scala
@@ -4,7 +4,7 @@ import scala.concurrent.{ExecutionContext, Future}
import akka.http.scaladsl.marshalling.Marshal
import akka.http.scaladsl.model._
-import akka.stream.ActorMaterializer
+import akka.stream.Materializer
import xyz.driver.core.rest.{Pagination => _, _}
import xyz.driver.pdsuicommon.auth._
import xyz.driver.pdsuicommon.db._
@@ -15,7 +15,7 @@ import xyz.driver.pdsuidomain.formats.json.intervention.ApiIntervention
import xyz.driver.pdsuidomain.services.InterventionService
class RestInterventionService(transport: ServiceTransport, baseUri: Uri)(
- implicit protected val materializer: ActorMaterializer,
+ implicit protected val materializer: Materializer,
protected val exec: ExecutionContext)
extends InterventionService with RestHelper {