liuyu před 4 roky
rodič
revize
ba9438783f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;