Skip to content

Commit ca7ef48

Browse files
committed
bugfix: Fix issues discovered in admin interface and in logs
1 parent ec0ad44 commit ca7ef48

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

modules/infra/src/main/scala/scaladex/infra/github/GithubModel.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ object GithubModel:
152152
for
153153
endCursor <- cursor.downField("pageInfo").downField("endCursor").as[Option[String]]
154154
hasNextPage <- cursor.downField("pageInfo").downField("hasNextPage").as[Boolean]
155-
nodes <- cursor.downField("nodes").as[Seq[T]]
155+
nodes <- cursor.downField("nodes").as[Seq[Option[T]]].map(_.flatten)
156156
yield GraphQLPage(endCursor, hasNextPage, nodes)
157157

158158
case class UserInfo(login: String, name: Option[String], avatarUrl: String):

modules/server/src/main/resources/reference.conf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,11 @@ scaladex {
1717
}
1818
}
1919

20-
akka {
21-
loggers = [akka.event.slf4j.Slf4jLogger]
20+
pekko {
21+
loggers = [org.apache.pekko.event.slf4j.Slf4jLogger]
2222
loglevel = INFO
2323
http.server {
2424
idle-timeout = 30s
2525
}
2626
http.parsing.illegal-header-warnings = off
27-
# The following is available in 10.1.x only
28-
# http.parsing.ignore-illegal-header-for = ["user-agent", "accept-language"]
2927
}

0 commit comments

Comments
 (0)