MCPcopy Create free account
hub / github.com/hydro-dev/Hydro / delGroup

Method delGroup

packages/hydrooj/src/model/user.ts:501–504  ·  view source on GitHub ↗
(domainId: string, name: string)

Source from the content-addressed store, hash-verified

499 }
500
501 static delGroup(domainId: string, name: string) {
502 deleteUserCache(domainId);
503 return collGroup.deleteOne({ domainId, name });
504 }
505
506 static updateGroup(domainId: string, name: string, uids: number[]) {
507 deleteUserCache(domainId);

Callers 2

postDelMethod · 0.80
domain.tsFile · 0.80

Calls 1

deleteUserCacheFunction · 0.85

Tested by

no test coverage detected