mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
修复:heatmap无法获取
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class Users::HeadmapsController < Users::BaseController
|
||||
def index
|
||||
result = Gitea::User::HeadmapService.call(observed_user.login, start_stamp, end_stamp)
|
||||
result = Gitea::User::HeadmapService.call(observed_user.login, start_stamp, end_stamp, observed_user&.gitea_token)
|
||||
@headmaps = result[2].blank? ? [] : result[2]
|
||||
rescue Exception => e
|
||||
uid_logger_error(e.message)
|
||||
|
||||
Reference in New Issue
Block a user