v.1.4.3/api update
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const admin = require('firebase-admin');
|
||||
|
||||
module.exports = async (roomId) => {
|
||||
await admin
|
||||
admin
|
||||
.firestore()
|
||||
.collection('rooms')
|
||||
.doc(roomId)
|
||||
@@ -11,7 +11,7 @@ module.exports = async (roomId) => {
|
||||
.catch((err) => {
|
||||
console.error(`Failed to run auto clean up (delete room messages) @ ${roomId}`, err);
|
||||
});
|
||||
await admin
|
||||
admin
|
||||
.firestore()
|
||||
.collection('rooms')
|
||||
.doc(roomId)
|
||||
@@ -21,7 +21,7 @@ module.exports = async (roomId) => {
|
||||
.catch((err) => {
|
||||
console.error(`Failed to run auto clean up (delete room users) @ ${roomId}`, err);
|
||||
});
|
||||
await admin
|
||||
admin
|
||||
.firestore()
|
||||
.collection('rooms')
|
||||
.doc(roomId)
|
||||
|
||||
Reference in New Issue
Block a user