api cloud update

This commit is contained in:
Yan
2018-04-23 16:23:00 +06:30
parent 6ce1fbf8a9
commit 403f70480d
5 changed files with 101 additions and 41 deletions

View File

@@ -64,7 +64,7 @@ class MyAesCrypt
shop_json["data"].each do |j|
if j["lookup"] == from
# add [0...44] for production cloud for remove \n
if(j["value"]["key"][0...44] == token)
if(j["value"]["key"] == token)
return true
end
end