修正发送游戏结果的一个bug
This commit is contained in:
parent
4c2afbff6e
commit
3d277c5ae4
@ -128,7 +128,7 @@ export async function sendOneQuestion(history: any) {
|
|||||||
* @return {Promise<void>}
|
* @return {Promise<void>}
|
||||||
*/
|
*/
|
||||||
export async function sendReward(history: any) {
|
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) {
|
if (activity.rewardInfo.length === 0) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user