liuyu 4 년 전
부모
커밋
ba9438783f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;