(domainId: string, uid: number, tids: ObjectId[])
| 923 | } |
| 924 | |
| 925 | export async function getListStatus(domainId: string, uid: number, tids: ObjectId[]) { |
| 926 | const r = {}; |
| 927 | // eslint-disable-next-line no-await-in-loop |
| 928 | for (const tid of tids) r[tid.toHexString()] = await getStatus(domainId, tid, uid); |
| 929 | return r; |
| 930 | } |
| 931 | |
| 932 | export async function attend(domainId: string, tid: ObjectId, uid: number, payload: any = {}) { |
| 933 | try { |
nothing calls this directly
no test coverage detected