Use data.items to display users

This commit is contained in:
Nathan Barber
2022-08-03 10:59:38 -04:00
parent 562a24b651
commit 33d4f382d5
3 changed files with 25 additions and 14 deletions

View File

@@ -6,6 +6,7 @@ export const jhapiRequest = (endpoint, method, data) => {
json: true,
headers: {
"Content-Type": "application/json",
Accept: "application/jupyterhub-pagination+json",
},
body: data ? JSON.stringify(data) : null,
});