Merge pull request #7631 from artoscinote/ma_SCI_10770

Fix asset sync conflict handling for results [SCI-10770]
This commit is contained in:
Martin Artnik 2024-06-05 14:52:18 +02:00 committed by GitHub
commit 84605cf0b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -141,7 +141,7 @@ class AssetSyncController < ApplicationController
project = assoc.protocol.in_module? ? assoc.my_module.project : nil
when Result
type_of = :result_file_added
message_items = { result: assoc }
message_items = { result: assoc.id }
project = assoc.my_module.project
end