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