Skip to content

Commit

Permalink
revert to old prismic
Browse files Browse the repository at this point in the history
I don't want the netty 4 dependency.
  • Loading branch information
ornicar committed Nov 17, 2018
1 parent 71774d9 commit 729b69b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/blog/src/main/BlogApi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ final class BlogApi(

object BlogApi {

def extract(body: fragments.StructuredText): String =
def extract(body: Fragment.StructuredText): String =
body.blocks
.takeWhile(_.isInstanceOf[Fragment.StructuredText.Block.Paragraph])
.take(2).map {
case Fragment.StructuredText.Block.Paragraph(text, _, _, _) => s"<p>$text</p>"
case Fragment.StructuredText.Block.Paragraph(text, _, _) => s"<p>$text</p>"
case _ => ""
}.mkString

Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ object Dependencies {
val chess = "org.lichess" %% "scalachess" % "8.6.18"
val compression = "org.lichess" %% "compression" % "1.4"
val maxmind = "com.sanoma.cda" %% "maxmind-geoip2-scala" % "1.2.3-THIB"
val prismic = "io.prismic" %% "scala-kit" % "2.4.2"
val prismic = "io.prismic" %% "scala-kit" % "1.2.13-THIB211"
val java8compat = "org.scala-lang.modules" %% "scala-java8-compat" % "0.8.0"
val semver = "com.gilt" %% "gfc-semver" % "0.0.5"
val scrimage = "com.sksamuel.scrimage" %% "scrimage-core" % "2.1.8"
Expand Down

0 comments on commit 729b69b

Please sign in to comment.