v.1.7.9/webhook room cleanup update
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user