mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-11 12:03:00 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -7,10 +7,9 @@ const withAPI = withProps(() => ({
|
||||
data.json()
|
||||
),
|
||||
updateGroups: (offset, limit) =>
|
||||
jhapiRequest(
|
||||
`/groups?offset=${offset}&limit=${limit}`,
|
||||
"GET"
|
||||
).then((data) => data.json()),
|
||||
jhapiRequest(`/groups?offset=${offset}&limit=${limit}`, "GET").then(
|
||||
(data) => data.json()
|
||||
),
|
||||
shutdownHub: () => jhapiRequest("/shutdown", "POST"),
|
||||
startServer: (name) => jhapiRequest("/users/" + name + "/server", "POST"),
|
||||
stopServer: (name) => jhapiRequest("/users/" + name + "/server", "DELETE"),
|
||||
|
Reference in New Issue
Block a user