Do not force string as setting value

pull/4178/head
Marcelo Schmidt 9 years ago
parent 9fe3bf6fb6
commit ccda8a7e28
No known key found for this signature in database
GPG Key ID: CA48C21A7B66097E
  1. 1
      packages/rocketchat-lib/server/methods/saveSetting.coffee

@ -2,7 +2,6 @@ Meteor.methods
saveSetting: (_id, value) ->
check _id, String
check value, String
if Meteor.userId()?
user = Meteor.users.findOne Meteor.userId()

Loading…
Cancel
Save