From 2c1dcc3cd33fbd2c2c921f20f67c45ce48c1e8bc Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Sat, 14 Sep 2019 18:25:51 +0800 Subject: `cask.Response` is now covariant --- example/formJsonPost/app/src/FormJsonPost.scala | 3 +++ 1 file changed, 3 insertions(+) (limited to 'example') diff --git a/example/formJsonPost/app/src/FormJsonPost.scala b/example/formJsonPost/app/src/FormJsonPost.scala index 3714f39..6dc82d3 100644 --- a/example/formJsonPost/app/src/FormJsonPost.scala +++ b/example/formJsonPost/app/src/FormJsonPost.scala @@ -1,4 +1,7 @@ package app + +import java.io.ByteArrayInputStream + object FormJsonPost extends cask.MainRoutes{ @cask.postJson("/json") def jsonEndpoint(value1: ujson.Js.Value, value2: Seq[Int]) = { -- cgit v1.2.3