v1.7.10/version change, add google drive support

This commit is contained in:
2021-03-01 01:36:56 -05:00
parent 470e335d91
commit 8877507abd
10 changed files with 54 additions and 11 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "watch-party-api",
"version": "1.7.9",
"version": "1.7.10",
"description": "Cloud Functions for Watch Party",
"scripts": {
"lint": "eslint .",
+6 -2
View File
@@ -72,8 +72,12 @@ module.exports = async (req, res) => {
);
});
var ids = await roomIdList(roomList);
batchDeleteRooms(ids, ids.length);
if (roomList.length > 0) {
var ids = await roomIdList(roomList);
if (ids.length > 0) {
batchDeleteRooms(ids, ids.length);
}
}
return;
};