Skip to content

Commit

Permalink
chore: apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre Bastianelli <[email protected]>
  • Loading branch information
BCerki and pbastia authored Aug 8, 2022
1 parent b39a204 commit 9d177b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ as $$
/**
Given form_data_record_id can be null for some form_change records, it is not a reliable id value for the returned project_contact record.
The returned id must not be null, so we use the form_change id being passed in as a parameter (multiplied by -1 to ensure we are not touching any existing records).
This means the id value is not going to be the correct id for the returned project_contact record, which should be ok since we're only interested
This means the id value is not going to be the correct id for the returned emission_intensity_report record, which should be ok since we're only interested
in the data in new_form_data.
**/
($1.id * -1) as id,
Expand Down

0 comments on commit 9d177b2

Please sign in to comment.