v0.42.1 Rewrite and simplication of concurrent-ruby support

This commit is contained in:
David Sainty 2024-08-17 22:51:02 +10:00
parent e217447a48
commit 6edd8a985d

View File

@ -1280,8 +1280,8 @@ class GossamerForumsImporter < ImportScripts::Base
created_at: Time.at(row['post_time']),
updated_at: Time.at(row['post_time']),
reads: post_views || 0
# post_number: post_number
)
# post_number: post_number
post.custom_fields['original_gossamer_id'] = row['post_id']
post.save!
@ -1332,8 +1332,8 @@ class GossamerForumsImporter < ImportScripts::Base
created_at: Time.at(reply_row['post_time']),
updated_at: Time.at(reply_row['post_time']),
reads: reply_post_views || 0
# post_number: post_number
)
# post_number: post_number
post.custom_fields['original_gossamer_id'] = reply_row['post_id']
post.save!