lrf402788946 %!s(int64=4) %!d(string=hai) anos
pai
achega
ce57077120
Modificáronse 1 ficheiros con 2 adicións e 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 }) {
   async getdock({ id }) {
-    return await this.model.find({ vipuser: { $elemMatch: { uid: id } } });
+    const res = await this.model.find({ vipuser: { $elemMatch: { uid: id } } });
+    return res;
   }
   }
 }
 }