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

Function updateQuoteRatings

backend/src/dal/user.ts:230–240  ·  view source on GitHub ↗
(
  uid: string,
  quoteRatings: UserQuoteRatings,
)

Source from the content-addressed store, hash-verified

228}
229
230export async function updateQuoteRatings(
231 uid: string,
232 quoteRatings: UserQuoteRatings,
233): Promise<boolean> {
234 await updateUser(
235 { uid },
236 { $set: { quoteRatings } },
237 { stack: "update quote ratings" },
238 );
239 return true;
240}
241
242export async function updateEmail(
243 uid: string,

Callers 1

submitRatingFunction · 0.90

Calls 1

updateUserFunction · 0.70

Tested by

no test coverage detected