FIX api bug

This commit is contained in:
Jasder
2020-03-14 00:17:18 +08:00
parent 0771b2783c
commit d75882030e
4 changed files with 10 additions and 46 deletions

View File

@@ -29,4 +29,4 @@ module LaboratoryHelper
laboratory ||= (Laboratory.find_by_subdomain(request.subdomain) || Laboratory.find(1))
@_default_yun_session = "#{laboratory.try(:identifier).split('.').first}_user_id"
end
end
end