Browse Source
			
			
			Remove debug statement in server/routers/api-router.js
			
				Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
			
			
				pull/815/head
			
			
		 
		
			
				
					
						 Jasper Miller-Waugh
					
					4 years ago
						Jasper Miller-Waugh
					
					4 years ago
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 2A5F6F15443A805
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
0 additions and 
1 deletions
			 
			
		 
		
			
				- 
					
					
					 
					server/routers/api-router.js
				
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -147,7 +147,6 @@ router.get("/api/status-page/monitor-list", cache("5 minutes"), async (_request, | 
			
		
	
		
		
			
				
					|  |  |         let list = await R.find("group", " public = 1 ORDER BY weight "); |  |  |         let list = await R.find("group", " public = 1 ORDER BY weight "); | 
			
		
	
		
		
			
				
					|  |  |         for (let groupBean of list) { |  |  |         for (let groupBean of list) { | 
			
		
	
		
		
			
				
					|  |  |             let monitorGroup = await groupBean.toPublicJSON() |  |  |             let monitorGroup = await groupBean.toPublicJSON() | 
			
		
	
		
		
			
				
					|  |  |             console.log("\n\nsettings", await getSettings("statusPage")) |  |  |  | 
			
		
	
		
		
			
				
					|  |  |             if ((await getSettings("statusPage")).statusPageTags=="visible") { |  |  |             if ((await getSettings("statusPage")).statusPageTags=="visible") { | 
			
		
	
		
		
			
				
					|  |  |                 monitorGroup.monitorList = await Promise.all(monitorGroup.monitorList.map( async (monitor)=>{ |  |  |                 monitorGroup.monitorList = await Promise.all(monitorGroup.monitorList.map( async (monitor)=>{ | 
			
		
	
		
		
			
				
					|  |  |                     // Includes tags as an array in response, allows for tags to be displayed on public status page
 |  |  |                     // Includes tags as an array in response, allows for tags to be displayed on public status page
 | 
			
		
	
	
		
		
			
				
					|  | 
 |