송용우

Merge commit '76a13add' into develop

......@@ -117,7 +117,9 @@ exports.addChallenge = async (ctx) => {
await session.save();
s_date = new Date(e_date);
s_date.setMinutes(s_date.getMinutes() + 1);
await challenge.updateOne({ status: status });
}
ctx.body = challenge.serialize();
} catch (e) {
ctx.throw(500, e);
......