Commit c05023a5 authored by 汪忙忙's avatar 汪忙忙

fix

parent 0525288a
......@@ -15,7 +15,7 @@ const pipeActivityInfo = async (context) => {
// 活动基本情况
let activityInfo = await activitySer.getBaseInfo(activityId);
// 活动不存在
if (!activityInfo && activityInfo.deleteStatus === ACTIVITY_STATUS.DELETE) {
if (!activityInfo || activityInfo.deleteStatus === ACTIVITY_STATUS.DELETE) {
return resultModel.error(CODE_TYPES.ERROR_NO_ACTIVITY);
}
let { startTime, endTime } = activityInfo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment