fix
This commit is contained in:
parent
2f2655525f
commit
a2612d8009
|
@ -16,15 +16,15 @@ class Cache::V2::UserDateRankService < ApplicationService
|
|||
end
|
||||
|
||||
def read_rank
|
||||
user_rank unless @user_id.nil?
|
||||
user_rank unless @user_id.blank?
|
||||
end
|
||||
|
||||
def read_statistic
|
||||
user_statistic unless @user_id.nil?
|
||||
user_statistic unless @user_id.blank?
|
||||
end
|
||||
|
||||
def call
|
||||
set_user_rank unless @user_id.nil?
|
||||
set_user_rank unless @user_id.blank?
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in New Issue