Skip to content

Commit

Permalink
Merge pull request #193 from Thejagd27/dev
Browse files Browse the repository at this point in the history
added replacing single quote
  • Loading branch information
Thejagd27 authored Apr 21, 2023
2 parents 0d7124c + be8b79c commit 1ed38f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ingestion/services/generic-function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ ajv.addKeyword('stripNewline', {
if (typeof data === 'string') {
return data.replace(/\n/g, '');
}
console.log('generic-function.: ', data);
return data;
};
},
Expand Down Expand Up @@ -118,7 +117,7 @@ export class GenericFunction {
}

async removeNewLine(input) {
return input.replace(/\n/g, '');
return input.replace(/\n/g, '').replace('\'','');
}

async getDate() {
Expand Down

0 comments on commit 1ed38f6

Please sign in to comment.