gemercheung před 3 roky
rodič
revize
292cb9058d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/service/msgService.js

+ 1 - 1
src/service/msgService.js

@@ -6,7 +6,7 @@ const getInKey = (realKey) => {
   return `${prefix}:${realKey}`;
   return `${prefix}:${realKey}`;
 };
 };
 
 
-const createMessage = async (roomId, user, msg) => {
+const createMessage = (roomId, user, msg) => {
   const msgConfigKey = `msg:${roomId}`;
   const msgConfigKey = `msg:${roomId}`;
   const msgObj = {
   const msgObj = {
     ...user,
     ...user,