Browse Source

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

pull/330/head
xxq250 3 years ago
parent
commit
cddbf2a7cc
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      lib/tasks/batch_add_issues.rake

+ 1
- 0
lib/tasks/batch_add_issues.rake 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)


Loading…
Cancel
Save