({
userId,
accountId,
}: {
userId: string;
accountId: string;
})
| 1 | import { createTypesenseUserNameUpdate } from 'queue/jobs'; |
| 2 | |
| 3 | export async function eventUserNameUpdate({ |
| 4 | userId, |
| 5 | accountId, |
| 6 | }: { |
| 7 | userId: string; |
| 8 | accountId: string; |
| 9 | }) { |
| 10 | await Promise.allSettled([ |
| 11 | createTypesenseUserNameUpdate({ accountId, userId }), |
| 12 | ]); |
| 13 | } |
no test coverage detected