lrf402788946 hace 5 años
padre
commit
ce57077120
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      app/service/dock.js

+ 2 - 1
app/service/dock.js

@@ -178,7 +178,8 @@ class ChatService extends CrudService {
   }
 
   async getdock({ id }) {
-    return await this.model.find({ vipuser: { $elemMatch: { uid: id } } });
+    const res = await this.model.find({ vipuser: { $elemMatch: { uid: id } } });
+    return res;
   }
 }