修正发送游戏结果的一个bug
This commit is contained in:
parent
4c2afbff6e
commit
3d277c5ae4
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user