( uid: string, quoteRatings: UserQuoteRatings, )
| 228 | } |
| 229 | |
| 230 | export 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 | |
| 242 | export async function updateEmail( |
| 243 | uid: string, |
no test coverage detected