mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 13:07:02 +00:00
current-consumer step 3 tweak path
This commit is contained in:
parent
157d7d8c14
commit
28f0a13ffc
@ -555,7 +555,7 @@ trait APIMethods600 {
|
||||
implementedInApiVersion,
|
||||
nameOf(getCurrentConsumer),
|
||||
"GET",
|
||||
"/current-consumer",
|
||||
"/consumers/current",
|
||||
"Get Current Consumer",
|
||||
s"""Returns the consumer_id of the current authenticated consumer.
|
||||
|
|
||||
@ -580,7 +580,7 @@ trait APIMethods600 {
|
||||
)
|
||||
|
||||
lazy val getCurrentConsumer: OBPEndpoint = {
|
||||
case "current-consumer" :: Nil JsonGet _ => {
|
||||
case "consumers" :: "current" :: Nil JsonGet _ => {
|
||||
cc => {
|
||||
implicit val ec = EndpointContext(Some(cc))
|
||||
for {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user