mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 19:16:53 +00:00
docfix/Tweak function name
This commit is contained in:
parent
0a0829ffaf
commit
b2f81e674d
@ -743,9 +743,9 @@ object Consent extends MdcLoggable {
|
||||
Full(CertificateUtil.jwtWithHmacProtection(jwtClaims, secret))
|
||||
}
|
||||
}
|
||||
def updateBerlinGroupConsentJWT(access: ConsentAccessJson,
|
||||
consent: MappedConsent,
|
||||
callContext: Option[CallContext]): Future[Box[String]] = {
|
||||
def updateAccountAccessOfBerlinGroupConsentJWT(access: ConsentAccessJson,
|
||||
consent: MappedConsent,
|
||||
callContext: Option[CallContext]): Future[Box[String]] = {
|
||||
implicit val dateFormats = CustomJsonFormats.formats
|
||||
val payloadToUpdate: Box[ConsentJWT] = JwtUtil.getSignedPayloadAsJson(consent.jsonWebToken) // Payload as JSON string
|
||||
.map(net.liftweb.json.parse(_).extract[ConsentJWT]) // Extract case class
|
||||
|
||||
@ -1411,7 +1411,7 @@ trait APIMethods510 {
|
||||
consentJson.access.transactions.isEmpty
|
||||
}
|
||||
}
|
||||
consentJWT <- Consent.updateBerlinGroupConsentJWT(
|
||||
consentJWT <- Consent.updateAccountAccessOfBerlinGroupConsentJWT(
|
||||
consentJson.access,
|
||||
consent,
|
||||
cc.callContext
|
||||
|
||||
Loading…
Reference in New Issue
Block a user