| 
					
				 | 
			
			
				@@ -53,6 +53,7 @@ export class MessageAuditorService implements MessageAuditorServiceInterface { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private filterData(filters: any, message: MessageLog): boolean { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let response: boolean = true //Just using this like a statemanagement 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let payload: BaseMessage = JSON.parse(message.appData.msgPayload as string) // Extract the payload from the messageLog first 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.verifyIfJsonDataIsString(payload) // Convert stringified nested payload if there's any 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // Making a separate function to cater to different multi filters conditions are coded below 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (filters) { // if filters is not null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (Object.keys(filters).length > 1) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -184,4 +185,17 @@ export class MessageAuditorService implements MessageAuditorServiceInterface { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // Addtional checking for notification messages cases 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    private verifyIfJsonDataIsString(payload: BaseMessage | any) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let parsedData: any 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (payload.data.data.data && typeof payload.data.data.data === 'string') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            parsedData = JSON.parse(payload.data.data.data) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            console.log(parsedData) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            payload.data.data.data = parsedData 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return payload 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return payload 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |