mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 13:46:13 +08:00 
			
		
		
		
	Fix: Missing await for isActive (#3717)
This commit is contained in:
		@@ -796,7 +796,7 @@ let needSetup = false;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                await updateMonitorNotification(bean.id, monitor.notificationIDList);
 | 
					                await updateMonitorNotification(bean.id, monitor.notificationIDList);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                if (bean.isActive()) {
 | 
					                if (await bean.isActive()) {
 | 
				
			||||||
                    await restartMonitor(socket.userID, bean.id);
 | 
					                    await restartMonitor(socket.userID, bean.id);
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user