From 3017f93db22d73631c66f3be71fe29d3a47a9554 Mon Sep 17 00:00:00 2001 From: Juan Caicedo Date: Sun, 28 Jan 2018 12:28:35 -0800 Subject: [PATCH] fix: date parsing --- lib/plugins/endpoint-methods/validate.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/plugins/endpoint-methods/validate.js b/lib/plugins/endpoint-methods/validate.js index 6852da7c..11e98bce 100644 --- a/lib/plugins/endpoint-methods/validate.js +++ b/lib/plugins/endpoint-methods/validate.js @@ -55,14 +55,6 @@ function validate (endpointParams, options) { } } - if (expectedType === 'date') { - value = new Date(value) - } - - if (parameter.mapTo) { - - } - set(options, parameter.mapTo || parameterName, value) })