Use correct post id in zendesk importer

This commit is contained in:
Gerhard Schlager 2018-06-17 22:52:26 +02:00
parent 2a0f409b9d
commit 84d9b2e473

View File

@ -203,7 +203,7 @@ class ImportScripts::Zendesk < ImportScripts::Base
end
{
id: import_topic_id(row['id']),
id: row['id'],
raw: normalize_raw(row['raw']),
user_id: user_id_from_imported_user_id(row['user_id']) || Discourse.system_user.id,
topic_id: topic[:topic_id],