@@ -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;