From 3d4ec2e28bc0316415ef16e466ad242eb0173e42 Mon Sep 17 00:00:00 2001 From: Martin Artnik Date: Wed, 5 Jun 2024 14:51:00 +0200 Subject: [PATCH] Fix asset sync conflict handling for results [SCI-10770] --- app/controllers/asset_sync_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/asset_sync_controller.rb b/app/controllers/asset_sync_controller.rb index 7f9e9561e..54c6e7440 100644 --- a/app/controllers/asset_sync_controller.rb +++ b/app/controllers/asset_sync_controller.rb @@ -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