Make #to_params return blank hashes if we have no data
This commit is contained in:
parent
0022ea71c5
commit
caf2e50954
6 changed files with 7 additions and 7 deletions
|
@ -13,7 +13,7 @@ class ApiEntreprise::RNAAdapter
|
|||
params[:rna] = data_source[:association][:id]
|
||||
params
|
||||
else
|
||||
nil
|
||||
{}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue