mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
导入gitee issue,已执行页码参数
This commit is contained in:
@@ -96,6 +96,7 @@ namespace :batch_add_issues do
|
||||
comment_lists.each do |comment|
|
||||
next if Journal.find_by(journalized_id: created_issue.id, journalized_type: 'Issue', notes: comment['body']).present?
|
||||
user_login = comment['user']['login']
|
||||
next if user_login.size >29
|
||||
comment_created_at = comment['created_at']
|
||||
comment_updated_at = comment['updated_at']
|
||||
comment_user = User.find_by(login: user_login)
|
||||
|
||||
Reference in New Issue
Block a user