Skip to content

Commit

Permalink
fix: date parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanCaicedo authored and gr2m committed Jan 28, 2018
1 parent f33481b commit 3017f93
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/plugins/endpoint-methods/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,6 @@ function validate (endpointParams, options) {
}
}

if (expectedType === 'date') {
value = new Date(value)
}

if (parameter.mapTo) {

}

set(options, parameter.mapTo || parameterName, value)
})

Expand Down

0 comments on commit 3017f93

Please sign in to comment.