导入gitee issue,已执行页码参数

This commit is contained in:
xxq250 2023-03-22 18:04:30 +08:00
parent 2a660b8b75
commit cddbf2a7cc
1 changed files with 1 additions and 0 deletions

View File

@ -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)