diff --git a/web/src/auth/AuthBackend.js b/web/src/auth/AuthBackend.js index c58df1d0..569a3a80 100644 --- a/web/src/auth/AuthBackend.js +++ b/web/src/auth/AuthBackend.js @@ -57,3 +57,10 @@ export function getApplication(owner, name) { credentials: "include" }).then(res => res.json()); } + +export function getUsers(owner) { + return fetch(`${authConfig.serverUrl}/api/get-users?owner=${owner}`, { + method: "GET", + credentials: "include" + }).then(res => res.json()); +}