mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 18:08:25 +00:00
Update scalafmt-core to 2.6.0
This commit is contained in:
@ -15,10 +15,9 @@ trait ResponseGenerator[F[_]] {
|
||||
w1: EntityEncoder[F, B]
|
||||
): F[Response[F]] =
|
||||
e.fold(
|
||||
a => UnprocessableEntity(a),
|
||||
b => Ok(b)
|
||||
)
|
||||
.map(_.withHeaders(headers: _*))
|
||||
a => UnprocessableEntity(a),
|
||||
b => Ok(b)
|
||||
).map(_.withHeaders(headers: _*))
|
||||
}
|
||||
|
||||
implicit final class OptionResponse[A](o: Option[A]) {
|
||||
|
Reference in New Issue
Block a user