Browse Source

fix: typo correction

pull/7329/head
Pranav C 11 months ago
parent
commit
1588962182
  1. 2
      packages/nocodb-sdk/src/lib/formulaHelpers.ts

2
packages/nocodb-sdk/src/lib/formulaHelpers.ts

@ -1019,7 +1019,7 @@ export const formulas: Record<string, FormulaMeta> = {
'String type is expected' 'String type is expected'
); );
} }
for(const i in [1,2]) { for(const i of [1,2]) {
if (argTypes[i] !== FormulaDataTypes.NUMERIC) { if (argTypes[i] !== FormulaDataTypes.NUMERIC) {
throw new FormulaError( throw new FormulaError(
FormulaErrorType.INVALID_ARG, FormulaErrorType.INVALID_ARG,

Loading…
Cancel
Save