Remove blank lines

Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
Fabio José 2019-06-11 13:25:46 -03:00
parent 043a4a8072
commit 555bce84a3
2 changed files with 0 additions and 2 deletions

View File

@ -12,7 +12,6 @@ function HTTPStructured(configuration){
this.config["headers"] this.config["headers"]
[Constants.HEADER_CONTENT_TYPE] = [Constants.HEADER_CONTENT_TYPE] =
Constants.MIME_CE_JSON + "; charset=" + Constants.CHARSET_DEFAULT; Constants.MIME_CE_JSON + "; charset=" + Constants.CHARSET_DEFAULT;
} }
HTTPStructured.prototype.emit = function(cloudevent){ HTTPStructured.prototype.emit = function(cloudevent){

View File

@ -37,7 +37,6 @@ function resolve_binding_name(payload, headers) {
var contentType = headers[Constants.HEADER_CONTENT_TYPE]; var contentType = headers[Constants.HEADER_CONTENT_TYPE];
if(contentType.startsWith(Constants.MIME_CE)){ if(contentType.startsWith(Constants.MIME_CE)){
// Structured // Structured
if(allowed_structured_content_types.includes(contentType)){ if(allowed_structured_content_types.includes(contentType)){
return structured; return structured;
} else { } else {