(payload: {
accountId: string;
userId: string;
})
| 130 | } |
| 131 | |
| 132 | export async function createTypesenseUserNameUpdate(payload: { |
| 133 | accountId: string; |
| 134 | userId: string; |
| 135 | }) { |
| 136 | const worker = await WorkerSingleton.getInstance(); |
| 137 | return await worker.addJob('typesenseOnUserNameUpdate', payload, { |
| 138 | maxAttempts: 1, |
| 139 | }); |
| 140 | } |
| 141 | |
| 142 | export async function createTypesenseChannelNameUpdate(payload: { |
| 143 | channelId: string; |
no test coverage detected