Skip to content

Commit

Permalink
Fix scala 2 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kyri-petrou committed Jun 17, 2024
1 parent 1ab4583 commit 8040c6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ object TapirAdapter {
encodeTextEventStreamResponse(resp)
)
case resp =>
val isBadRequest = response.errors.contains(HttpRequestMethod.MutationOverGetError)
val isBadRequest = response.errors.contains(HttpRequestMethod.MutationOverGetError: Any)
(
MediaType.ApplicationJson,
if (isBadRequest) StatusCode.BadRequest else StatusCode.Ok,
Expand Down

0 comments on commit 8040c6f

Please sign in to comment.