mirror of
https://github.com/OpenBankProject/API-Explorer.git
synced 2026-02-06 10:47:23 +00:00
improvment/Use v3.0.0 for current user endpoint instead of v2.0.0 i.e. New vs Old Style
This commit is contained in:
parent
7521c849bc
commit
1b20b211b1
@ -103,7 +103,7 @@ object ObpAPI extends Loggable {
|
||||
}
|
||||
}
|
||||
|
||||
def currentUser : Box[CurrentUserJson]= ObpGet(s"$obpPrefix/v2.0.0/users/current").flatMap(_.extractOpt[CurrentUserJson])
|
||||
def currentUser : Box[CurrentUserJson]= ObpGet(s"$obpPrefix/v3.0.0/users/current").flatMap(_.extractOpt[CurrentUserJson])
|
||||
|
||||
def getRoot : Box[JValue]= ObpGet(s"$obpPrefix/v4.0.0/root")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user