This commit is contained in:
Louis Lam 2022-12-08 23:21:55 +08:00
parent e478084ff9
commit 4cd5b5563f
5 changed files with 26 additions and 5 deletions

View file

@ -632,6 +632,9 @@ let needSetup = false;
bean.import(monitor);
bean.user_id = socket.userID;
bean.validate();
await R.store(bean);
await updateMonitorNotification(bean.id, notificationIDList);
@ -719,6 +722,8 @@ let needSetup = false;
bean.radiusCallingStationId = monitor.radiusCallingStationId;
bean.radiusSecret = monitor.radiusSecret;
bean.validate();
await R.store(bean);
await updateMonitorNotification(bean.id, monitor.notificationIDList);