导入gitee issue,已执行页码参数
This commit is contained in:
parent
2a660b8b75
commit
cddbf2a7cc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue