Skip to content

Commit

Permalink
Fix parameter signature
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Oct 10, 2023
1 parent 9409103 commit 258e3d7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ LANGUAGE plpgsql;

await queryRunner.query(`
CREATE OR REPLACE FUNCTION get_indicator_coefficient_impact(
nameCode text,
name_code text,
adminRegionId uuid,
material_id uuid)
RETURNS float AS
Expand All @@ -69,7 +69,7 @@ LANGUAGE plpgsql;
--get indicatorId
SELECT "id" INTO indicator_id FROM "indicator"
WHERE "nameCode" = nameCode;
WHERE "nameCode" = name_code;
-- get water footprint value by location, material and indicator
EXECUTE format(
Expand Down

0 comments on commit 258e3d7

Please sign in to comment.