diff --git a/src/api/pulp-login.ts b/src/api/pulp-login.ts index 319fa878..e5e9f170 100644 --- a/src/api/pulp-login.ts +++ b/src/api/pulp-login.ts @@ -4,6 +4,9 @@ const base = new PulpAPI(); export const PulpLoginAPI = { try: (username, password) => - // roles = any api that will always be there and requires auth - base.http.get(`roles/`, { auth: { username, password } }), + // groups = any api that will always be there and requires auth + base.http.get(`groups/`, { + auth: { username, password }, + params: { limit: 0, offset: 0 }, + }), };