Skip to content

Commit

Permalink
fix unused override
Browse files Browse the repository at this point in the history
  • Loading branch information
fserra-mdsol committed Jul 29, 2022
1 parent 70f58c0 commit 7a3c57f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class MauthPublicKeyProvider(configuration: AuthenticatorConfiguration, signer:
override def getPublicKey(appUUID: UUID): Future[Option[PublicKey]] =
getPublicKeyIO(appUUID).unsafeToFuture()

override def getPublicKeyIO(appUUID: UUID): IO[Option[PublicKey]] = memoizeF(Some(configuration.getTimeToLive.seconds)) {
def getPublicKeyIO(appUUID: UUID): IO[Option[PublicKey]] = memoizeF(Some(configuration.getTimeToLive.seconds)) {
val signedRequest = signer.signRequest(UnsignedRequest.noBody("GET", new URI(configuration.getBaseUrl + getRequestUrlPath(appUUID)), headers = Map.empty))
retrievePublicKey()(IO.fromFuture(IO(HttpClient.call(signedRequest.toAkkaHttpRequest))))
}
Expand Down

0 comments on commit 7a3c57f

Please sign in to comment.