Skip to content

Commit

Permalink
Update Dom.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
varshith257 authored Aug 31, 2024
1 parent c19b396 commit 9fcdef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zio-http/shared/src/main/scala/zio/http/template/Dom.scala
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ object Dom {
Schema[String].transform(Dom.raw, _.encode.toString)

implicit val htmlCodec: HttpContentCodec[Dom] = {
HttpContentCodec.Default(
HttpContentCodec.default(
ListMap(
MediaType.text.`html` ->
BinaryCodecWithSchema.fromBinaryCodec(zio.http.codec.internal.TextBinaryCodec.fromSchema(Schema[Dom])),
Expand Down

0 comments on commit 9fcdef1

Please sign in to comment.