MCPcopy Create free account
hub / github.com/monkeytypegame/monkeytype / flagForNameChange

Function flagForNameChange

backend/src/dal/user.ts:189–194  ·  view source on GitHub ↗
(uid: string)

Source from the content-addressed store, hash-verified

187}
188
189export async function flagForNameChange(uid: string): Promise<void> {
190 await getUsersCollection().updateOne(
191 { uid },
192 { $set: { needsToChangeName: true } },
193 );
194}
195
196export async function clearPb(uid: string): Promise<void> {
197 await getUsersCollection().updateOne(

Callers

nothing calls this directly

Calls 1

getUsersCollectionFunction · 0.85

Tested by

no test coverage detected