liuyu %!s(int64=4) %!d(string=hai) anos
pai
achega
ba9438783f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/room.js

+ 1 - 1
app/service/room.js

@@ -135,7 +135,7 @@ class RoomService extends CrudService {
     return result;
   }
 
-  async updateshmai(id, shmaiid) {
+  async updateshmai({ id, shmaiid }) {
     const res = await this.model.findById(id);
     if (res) {
       res.shmaiid = shmaiid;