修正发送游戏结果的一个bug

This commit is contained in:
zhl 2021-05-20 21:02:45 +08:00
parent 4c2afbff6e
commit 3d277c5ae4

View File

@ -128,7 +128,7 @@ export async function sendOneQuestion(history: any) {
* @return {Promise<void>}
*/
export async function sendReward(history: any) {
let activity = await ShopActivity.findById(history.activity)
let activity = await ShopActivity.findById(history.activityId)
if (activity.rewardInfo.length === 0) {
return
}