File tree Expand file tree Collapse file tree
js/src/main/scala/leaderboard/sim
shared/src/main/scala/leaderboard/dispatch Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,8 @@ object SimulationMain {
6767 // the page. We never finalize — the in-memory dummy state should live as
6868 // long as the JS module is loaded.
6969 val program : G [Nothing ] =
70- Injector .NoProxies [G ]()
70+ Injector
71+ .NoProxies [G ]()
7172 // `Roots.Everything` instead of `Roots.target[LocalDispatcher]` because
7273 // `LeaderboardCoreModule.api` adds `LadderApi`/`ProfileApi` to the
7374 // `Set[HttpApi[F]]` as *weak* references — they only join the set if
Original file line number Diff line number Diff line change @@ -37,8 +37,9 @@ object LocalDispatcher {
3737 method = Method .fromString(method).getOrElse(Method .GET ),
3838 uri = Uri .unsafeFromString(path),
3939 ).withEntity(body)
40- httpApp.run(req).flatMap { resp =>
41- resp.as[String ].map(text => Response (resp.status.code, text))
40+ httpApp.run(req).flatMap {
41+ resp =>
42+ resp.as[String ].map(text => Response (resp.status.code, text))
4243 }
4344 }
4445 }
You can’t perform that action at this time.
0 commit comments