await saving monitor

This commit is contained in:
Alex Holliday committed 2024-10-28 15:34:19 +08:00
1 parent 8b126d4d8a
commit acdd737a5e
1 file changed
+1 -1
+1 -1
View File
@@ -41,7 +41,7 @@ class StatusService {
const prevStatus = monitor.status;
monitor.status = status;
monitor.save();
await monitor.save();
return {
monitor,