Skip to content

Commit f2fe489

Browse files
committed
fix(builtins): remove wrong hard coded parameter metadata
1 parent 86f79f1 commit f2fe489

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

src/if-run/builtins/coefficient/index.ts

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,8 @@ export const Coefficient = (
2020
): ExecutePlugin => {
2121
const metadata = {
2222
kind: 'execute',
23-
inputs: parametersMetadata?.inputs || {
24-
carbon: {
25-
description: 'an amount of carbon emitted into the atmosphere',
26-
unit: 'gCO2e',
27-
'aggregation-method': 'sum',
28-
},
29-
},
30-
outputs: parametersMetadata?.outputs || {
31-
'carbon-product': {
32-
description: 'a product of cabon property and the coefficient',
33-
unit: 'gCO2e',
34-
'aggregation-method': 'sum',
35-
},
36-
},
23+
inputs: parametersMetadata?.inputs,
24+
outputs: parametersMetadata?.outputs,
3725
};
3826

3927
/**

0 commit comments

Comments
 (0)