mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 13:26:51 +00:00
refactor/Rename a function name
This commit is contained in:
parent
45d3e3b9d0
commit
29f4a46abf
@ -313,7 +313,7 @@ object Consent {
|
||||
}
|
||||
}
|
||||
|
||||
private def hasConsentInternal(consentAsJwt: String, callContext: CallContext): Future[(Box[User], Option[CallContext])] = {
|
||||
private def hasConsentCommon(consentAsJwt: String, callContext: CallContext): Future[(Box[User], Option[CallContext])] = {
|
||||
implicit val dateFormats = CustomJsonFormats.formats
|
||||
|
||||
def applyConsentRules(consent: ConsentJWT): Future[(Box[User], Option[CallContext])] = {
|
||||
@ -368,7 +368,7 @@ object Consent {
|
||||
(hasConsentInternalOldStyle(consentIdAsJwt, callContext), callContext)
|
||||
}
|
||||
private def hasConsent(consentAsJwt: String, callContext: CallContext): Future[(Box[User], Option[CallContext])] = {
|
||||
hasConsentInternal(consentAsJwt, callContext)
|
||||
hasConsentCommon(consentAsJwt, callContext)
|
||||
}
|
||||
|
||||
def applyRules(consentJwt: Option[String], callContext: CallContext): Future[(Box[User], Option[CallContext])] = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user