ENCOA-312
This commit is contained in:
@@ -80,7 +80,6 @@ async function patch(req: NextApiRequest, res: NextApiResponse) {
|
||||
await Promise.all(newParticipants.map(async (p) => await updateExpiryDateOnGroup(p, group.admin)));
|
||||
}
|
||||
|
||||
console.log(req.body);
|
||||
await db.collection("groups").updateOne({id}, {$set: {id, ...req.body}}, {upsert: true});
|
||||
|
||||
res.status(200).json({ok: true});
|
||||
|
||||
Reference in New Issue
Block a user