Add prefill params tests repetition
This commit is contained in:
parent
a51ed0094b
commit
c5f1f80d25
2 changed files with 53 additions and 2 deletions
|
@ -83,7 +83,7 @@ class PrefillParams
|
|||
id = row.find { |champ| champ.libelle == key }&.id
|
||||
next unless id
|
||||
{ id: id, value: value }
|
||||
end
|
||||
end.compact
|
||||
rescue JSON::ParserError
|
||||
end.compact
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue