mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-13 16:45:18 +08:00
Properly set last_modified_by when consuming stock [SCI-10904]
This commit is contained in:
parent
089dbc084b
commit
acbbe1daf6
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ class MyModuleRepositoryRow < ApplicationRecord
|
|||
team_id: my_module.experiment.project.team.id
|
||||
}
|
||||
)
|
||||
stock_value.last_modified_by_id = last_modified_by_id
|
||||
stock_value.save!
|
||||
save!
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue