MCPcopy Create free account
hub / github.com/gotify/server / requestDelete

Method requestDelete

ui/src/user/UserStore.ts:16–20  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

14 axios.get<IUser[]>(`${config.get('url')}user`).then((response) => response.data);
15
16 protected requestDelete(id: number): Promise<void> {
17 return axios
18 .delete(`${config.get('url')}user/${id}`)
19 .then(() => this.snack('User deleted'));
20 }
21
22 @action
23 public create = async (name: string, pass: string, admin: boolean) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected