v.1.7.9/webhook room cleanup update

This commit is contained in:
2021-02-26 15:46:33 -05:00
parent d3c1895abb
commit 470e335d91
6 changed files with 3801 additions and 307 deletions
+2 -1
View File
@@ -45,7 +45,7 @@ module.exports = async (req, res) => {
createdAt: new Date(),
adminUid: bodydata.uid,
adminOnly: bodydata.adminOnly,
publicParty: !!bodydata.publicParty,
publicParty: Boolean(bodydata.publicParty),
})
.catch((err) => {
res.status(500).send({ message: "Unable to start party." });
@@ -89,4 +89,5 @@ module.exports = async (req, res) => {
.send({ roomId: bodydata.partyName, message: "Started a party!" });
}
}
return;
};