Skip to content

Commit

Permalink
Merge pull request #293 from dhanush-2397/dev
Browse files Browse the repository at this point in the history
File status API changes
  • Loading branch information
dhanush-2397 authored Jan 31, 2024
2 parents cb5404c + 73ad536 commit 7e3a75f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class DataEmissionService {
const fileSize = File.size;
let uploadedFileName = File.originalname;

const queryStr = await IngestionDatasetQuery.createFileTracker(uploadedFileName, 'Emission', uploadedFileName.split('.zip')[0], fileSize);
const queryStr = await IngestionDatasetQuery.createFileTracker(uploadedFileName, 'event', uploadedFileName.split('.zip')[0], fileSize);
const queryResult = await this.DatabaseService.executeQuery(queryStr.query, queryStr.values);

//Unzip the file
Expand Down
1 change: 0 additions & 1 deletion src/ingestion/services/file-status/file-status.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export class FileStatusService {
"type": "string",
"enum": [
"event",
"dataset",
"dimension"
],
"shouldnotnull": true
Expand Down

0 comments on commit 7e3a75f

Please sign in to comment.