fix check license subdomain

This commit is contained in:
Thein Lin Kyaw
2020-02-13 15:19:20 +06:30
parent 21ffa588cb
commit 485a719342
2 changed files with 4 additions and 8 deletions

View File

@@ -63,7 +63,8 @@ class ActionController::Base
end
def check_subdomain(lookup)
License.check_license_subdomain(lookup)
license = License.new(ENV["SX_PROVISION_URL"], lookup)
license.check_license_subdomain(lookup)
end
def check_license(lookup)