Merge remote-tracking branch 'chakflying/redirects&status' into redirects&status

This commit is contained in:
LouisLam 2021-08-08 15:03:39 +08:00
commit 7b1000d995

View file

@ -230,6 +230,9 @@ let indexHTML = fs.readFileSync("./dist/index.html").toString();
let notificationIDList = monitor.notificationIDList;
delete monitor.notificationIDList;
monitor.accepted_statuscodes_json = JSON.stringify(monitor.accepted_statuscodes);
delete monitor.accepted_statuscodes;
bean.import(monitor)
bean.user_id = socket.userID
await R.store(bean)