mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 17:17:09 +00:00
refactor/Remove unused function
This commit is contained in:
parent
cbba66298c
commit
b813547add
@ -704,15 +704,6 @@ where the consent was directly managed between ASPSP and PSU e.g. in a re-direct
|
||||
}
|
||||
|
||||
|
||||
|
||||
def tweakStatusNames(status: String) = {
|
||||
val scaStatus = status
|
||||
.replace(ConsentStatus.INITIATED.toString, "started")
|
||||
.replace(ConsentStatus.ACCEPTED.toString, "finalised")
|
||||
.replace(ConsentStatus.REJECTED.toString, "failed")
|
||||
scaStatus
|
||||
}
|
||||
|
||||
resourceDocs += ResourceDoc(
|
||||
getConsentScaStatus,
|
||||
apiVersion,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user