Remove blank lines
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
		
							parent
							
								
									043a4a8072
								
							
						
					
					
						commit
						555bce84a3
					
				| 
						 | 
				
			
			@ -12,7 +12,6 @@ function HTTPStructured(configuration){
 | 
			
		|||
  this.config["headers"]
 | 
			
		||||
    [Constants.HEADER_CONTENT_TYPE] =
 | 
			
		||||
      Constants.MIME_CE_JSON + "; charset=" + Constants.CHARSET_DEFAULT;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
HTTPStructured.prototype.emit = function(cloudevent){
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -37,7 +37,6 @@ function resolve_binding_name(payload, headers) {
 | 
			
		|||
  var contentType = headers[Constants.HEADER_CONTENT_TYPE];
 | 
			
		||||
  if(contentType.startsWith(Constants.MIME_CE)){
 | 
			
		||||
    // Structured
 | 
			
		||||
 | 
			
		||||
    if(allowed_structured_content_types.includes(contentType)){
 | 
			
		||||
      return structured;
 | 
			
		||||
    } else {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue