From e83fc96e05463d337ab5b68f8140fdaa3ab1ade9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Kleinb=C3=B6lting?= Date: Mon, 22 Apr 2024 10:08:40 +0200 Subject: [PATCH] fmt --- .../org/knora/webapi/slice/infrastructure/JwtService.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapi/src/main/scala/org/knora/webapi/slice/infrastructure/JwtService.scala b/webapi/src/main/scala/org/knora/webapi/slice/infrastructure/JwtService.scala index f471ff0483..dd66ed0589 100644 --- a/webapi/src/main/scala/org/knora/webapi/slice/infrastructure/JwtService.scala +++ b/webapi/src/main/scala/org/knora/webapi/slice/infrastructure/JwtService.scala @@ -161,7 +161,7 @@ final case class JwtServiceLive( * @return a [[Boolean]]. */ override def validateToken(token: String): Task[Boolean] = - ZIO.succeed(!cache.contains(token) && decodeToken(token).isDefined ) + ZIO.succeed(!cache.contains(token) && decodeToken(token).isDefined) /** * Extracts the encoded user IRI. This method also makes sure that the required headers and claims are present.