Skip to content

Commit

Permalink
HA-104: Remove node_id from endpoint as it will be implicit in auth
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoMoreta committed Jun 6, 2024
1 parent 0a0d7eb commit f0cd5fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/client/Profile/Consumer.bru
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ meta {
}

get {
url: {{URL}}/api/v2/nodes/{{node_id}}/consumer/
url: {{URL}}/api/v2/consumer/
body: none
auth: none
}
Expand Down
2 changes: 1 addition & 1 deletion api/client/Profile/Update Consumer.bru
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ meta {
}

put {
url: {{URL}}/api/v2/nodes/{{node_id}}/consumer/
url: {{URL}}/api/v2/consumer/
body: json
auth: none
}
Expand Down
2 changes: 1 addition & 1 deletion api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -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<node>\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()),
Expand Down

0 comments on commit f0cd5fa

Please sign in to comment.