license for master

This commit is contained in:
Yan
2017-11-10 14:15:05 +06:30
parent b82099368f
commit 4ce8fe48bc
2 changed files with 4 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ class License
if cache_license.nil?
##change the d/e key
# @options = { query: {device: "SXlite", lookup: lookup, skey: @secret, token: SECRETS_CONFIG['provision_key']} }
@params = { query: { device: "SXlite", token: SECRETS_CONFIG['provision_key']} }
@params = { query: { lookup_type: "cloud", lookup: lookup, encrypted_key: SECRETS_CONFIG['provision_key']} }
response = self.class.get("/request_license", @params)
@license = response.parsed_response