mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-10-25 07:39:22 +08:00 
			
		
		
		
	fix TypeError: Cannot read property 'id' of null
				
					
				
			when testing a Google Chat notification see https://github.com/louislam/uptime-kuma/issues/1126#issuecomment-1006343423
This commit is contained in:
		| @@ -27,7 +27,7 @@ class GoogleChat extends NotificationProvider { | ||||
|             textMsg += `${msg}`; | ||||
|  | ||||
|             const baseURL = await setting("primaryBaseURL"); | ||||
|             if (baseURL) { | ||||
|             if (baseURL && monitorJSON) { | ||||
|                 textMsg += `\n${baseURL + getMonitorRelativeURL(monitorJSON.id)}`; | ||||
|             } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user