File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
core/src/main/scala/app/softnetwork/scheduler/launch Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import app.softnetwork.api.server.ApiEndpoints
55import app .softnetwork .persistence .schema .SchemaProvider
66import app .softnetwork .scheduler .service .SchedulerServiceEndpoints
77import app .softnetwork .session .service .SessionEndpoints
8+ import sttp .capabilities .WebSockets
9+ import sttp .capabilities .akka .AkkaStreams
810import sttp .tapir .server .ServerEndpoint
911
1012import scala .concurrent .Future
@@ -16,6 +18,7 @@ trait SchedulerEndpoints extends ApiEndpoints with SchedulerGuardian { _: Schema
1618 def schedulerEndpoints : ActorSystem [_] => SchedulerServiceEndpoints = system =>
1719 SchedulerServiceEndpoints .apply(system, sessionEndpoints(system))
1820
19- override def endpoints : ActorSystem [_] => List [ServerEndpoint [Any , Future ]] = system =>
21+ override def endpoints
22+ : ActorSystem [_] => List [ServerEndpoint [AkkaStreams with WebSockets , Future ]] = system =>
2023 schedulerEndpoints(system).endpoints
2124}
You can’t perform that action at this time.
0 commit comments