v1.0.2 - giphy message type integration fix

This commit is contained in:
Ayushya Amitabh
2020-04-24 14:07:57 -04:00
parent e6ea70e134
commit aa9b805e56
4 changed files with 147 additions and 4 deletions
+2 -2
View File
@@ -238,10 +238,10 @@ const sendMessage = async (req, res) => {
.collection('messages')
.add({
name,
text,
text: text || '',
time,
uid,
type,
type: type || '',
})
.catch((err) => {
console.error(`Failed to send message to party : \n\t Room: ${roomId} \n\t ${uid}`, err);