Remove key trimming logic as it was moved to the SDK

This commit is contained in:
Juan Cruz Viotti 2015-01-09 12:54:35 -03:00
parent 05812ba442
commit cdeaab18c8

View File

@ -33,7 +33,6 @@ exports.add = permissions.user (params) ->
helpers.readStdin(callback) helpers.readStdin(callback)
(key, callback) -> (key, callback) ->
key = key.trim()
resin.models.key.create(params.name, key, callback) resin.models.key.create(params.name, key, callback)
], errors.handle ], errors.handle