MCPcopy Create free account
hub / github.com/angular/dev-infra / performUnblock

Function performUnblock

apps/functions/code-of-conduct/unblockUser.ts:48–52  ·  view source on GitHub ↗
(github: Octokit, doc: admin.firestore.DocumentSnapshot<BlockedUser>)

Source from the content-addressed store, hash-verified

46);
47
48async function performUnblock(github: Octokit, doc: admin.firestore.DocumentSnapshot<BlockedUser>) {
49 await github.orgs
50 .unblockUser({org: 'angular', username: doc.get('username')})
51 .then(() => doc.ref.delete());
52}

Callers 1

unblockUser.tsFile · 0.85

Calls 2

getMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected