Skip to content

Commit

Permalink
Merge pull request #197 from Sunbird-cQube/dev
Browse files Browse the repository at this point in the history
Dev to staging
  • Loading branch information
Thejagd27 authored Apr 25, 2023
2 parents 1d16502 + b5bd40e commit ef4bcf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ingestion/services/generic-function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class GenericFunction {
if (properties[property]) {
if (addQuotes && properties[property].type === 'string') {
let inputData = await this.removeNewLine(`${input[property]}`);
input[property] = `${inputData}`;
input[property] = `'${inputData}'`;
} else if (properties[property].type === 'integer' || properties[property].type === 'number' || properties[property].type === 'float') {
input[property] = Number(input[property]);
}
Expand Down

0 comments on commit ef4bcf5

Please sign in to comment.