mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user