(event: UserJoin)
| 8 | }; |
| 9 | |
| 10 | export async function eventUserJoin(event: UserJoin) { |
| 11 | // await Promise.allSettled([ |
| 12 | // userJoinTask(event), // run it synchronously |
| 13 | // ]); |
| 14 | } |
| 15 | |
| 16 | // const userJoinTask = async (payload: { userId: string }) => { |
| 17 | // const user = await prisma.users.findUnique({ |
no outgoing calls
no test coverage detected