(domainId: string, psid: ObjectId, psrid: ObjectId)
| 66 | } |
| 67 | |
| 68 | static delReply(domainId: string, psid: ObjectId, psrid: ObjectId) { |
| 69 | return document.deleteSub(domainId, document.TYPE_PROBLEM_SOLUTION, psid, 'reply', psrid); |
| 70 | } |
| 71 | |
| 72 | static async vote(domainId: string, psid: ObjectId, uid: number, value: number) { |
| 73 | const doc = await document.get(domainId, document.TYPE_PROBLEM_SOLUTION, psid); |
no outgoing calls
no test coverage detected