Skip to content

Commit f823a6e

Browse files
committed
Lint
1 parent 03b6e22 commit f823a6e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/kotlin/no/java/conf/plugins/Respond.kt

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ suspend inline fun <reified A : Any> Either<ApiError, A>.respond(status: HttpSta
1414
is Either.Right -> call.respond(status, value)
1515
}
1616

17-
suspend fun RoutingContext.respond(error: ApiError) =
18-
call.respond(error.statusCode, error.messageMap())
17+
suspend fun RoutingContext.respond(error: ApiError) = call.respond(error.statusCode, error.messageMap())
1918

2019
context(RoutingContext)
2120
suspend inline fun <reified A : Any> Either<ApiError, A>.respondRedirect(url: String) =

0 commit comments

Comments
 (0)