( db: Kysely<Database>, id: string, email: string, )
| 58 | } |
| 59 | |
| 60 | export async function setUserEmail( |
| 61 | db: Kysely<Database>, |
| 62 | id: string, |
| 63 | email: string, |
| 64 | ): Promise<void> { |
| 65 | await db |
| 66 | .updateTable('user') |
| 67 | .where('user_id', '=', id) |
| 68 | .set({ email }) |
| 69 | .execute() |
| 70 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…