diff --git a/api/client/Profile/Consumer.bru b/api/client/Profile/Consumer.bru index f3f8a1f..4779344 100644 --- a/api/client/Profile/Consumer.bru +++ b/api/client/Profile/Consumer.bru @@ -5,7 +5,7 @@ meta { } get { - url: {{URL}}/api/v2/nodes/{{node_id}}/consumer/ + url: {{URL}}/api/v2/consumer/ body: none auth: none } diff --git a/api/client/Profile/Update Consumer.bru b/api/client/Profile/Update Consumer.bru index ae9acac..cea6ec2 100644 --- a/api/client/Profile/Update Consumer.bru +++ b/api/client/Profile/Update Consumer.bru @@ -5,7 +5,7 @@ meta { } put { - url: {{URL}}/api/v2/nodes/{{node_id}}/consumer/ + url: {{URL}}/api/v2/consumer/ body: json auth: none } diff --git a/api/urls.py b/api/urls.py index 7112b57..58eed29 100644 --- a/api/urls.py +++ b/api/urls.py @@ -27,7 +27,7 @@ path("v2/logout/", LogoutView.as_view()), path("v2/reset_password/", ResetPasswordView.as_view()), path("v2/member_status/", MemberStatusViewSet.as_view()), - re_path(r"v2/nodes/(?P\d+)/consumer/", ConsumerViewSet.as_view()), + re_path(r"v2/consumer/", ConsumerViewSet.as_view()), path("v1/entities/", EntitiesView.as_view()), path("v1/fetch/", FetchUserView.as_view()),