Skip to content

Commit 4e466b9

Browse files
committed
pulp-login: change roles/ to groups/
we still need an api endpoint to check whether we're logged in or not, but `/pulp/api/v3/roles/` requires the user to be admin. Changing to `/pulp/api/v3/groups/`, as per #198. Closes #198
1 parent 05ae193 commit 4e466b9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/api/pulp-login.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ const base = new PulpAPI();
44

55
export const PulpLoginAPI = {
66
try: (username, password) =>
7-
// roles = any api that will always be there and requires auth
8-
base.http.get(`roles/`, { auth: { username, password } }),
7+
// groups = any api that will always be there and requires auth
8+
base.http.get(`groups/`, { auth: { username, password } }),
99
};

0 commit comments

Comments
 (0)