mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-23 15:32:22 +00:00
Remove key trimming logic as it was moved to the SDK
This commit is contained in:
parent
05812ba442
commit
cdeaab18c8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user