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

Method constructor

ui/src/user/UserStore.ts:9–11  ·  view source on GitHub ↗
(private readonly snack: SnackReporter)

Source from the content-addressed store, hash-verified

7
8export class UserStore extends BaseStore<IUser> {
9 constructor(private readonly snack: SnackReporter) {
10 super();
11 }
12
13 protected requestItems = (): Promise<IUser[]> =>
14 axios.get<IUser[]>(`${config.get('url')}user`).then((response) => response.data);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected