diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4e73b48..e047711 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Poker Dot +name: Poker Dot Build on: push: diff --git a/lambda/src/main/scala/io/adamnfish/pokerdot/Lambda.scala b/lambda/src/main/scala/io/adamnfish/pokerdot/Lambda.scala index 614956b..711f8fb 100644 --- a/lambda/src/main/scala/io/adamnfish/pokerdot/Lambda.scala +++ b/lambda/src/main/scala/io/adamnfish/pokerdot/Lambda.scala @@ -11,7 +11,7 @@ import software.amazon.awssdk.http.urlconnection.UrlConnectionHttpClient import software.amazon.awssdk.regions.Region import software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClient import software.amazon.awssdk.services.dynamodb.DynamoDbClient -import zio.Unsafe +import zio.{Runtime, Unsafe} import java.net.URI import scala.jdk.CollectionConverters._ @@ -76,7 +76,7 @@ class Lambda { val appContext = appContextBuilder(playerAddress, awsContext) Unsafe.unsafe { implicit unsafe => - zio.Runtime.default.run( + Runtime.default.unsafe.run( PokerDot.pokerdot(event.getBody, appContext) ).fold( { fs =>