Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Maja Grubic committed Mar 27, 2023
1 parent 5de9e7d commit 048a7be
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 @@ -35,7 +35,6 @@ export function createCustomDatasetRoute(router: IRouter, logger: Logger, core:
},
async (context, req, res) => {
const { nrOfDocuments, fieldFormat } = req.body;
console.log(fieldFormat);
const esClient = (await core.getStartServices())[0].elasticsearch.client;
const workerData: WorkerData = {
numberOfDocuments: nrOfDocuments,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface WorkerData {
fieldFormat: string;
}

const { numberOfDocuments, fieldFormat } = workerData as WorkerData;
const { fieldFormat } = workerData as WorkerData;
const logger = createLogger(LogLevel.info);

function getRandomInt(min: number, max: number) {
Expand Down

0 comments on commit 048a7be

Please sign in to comment.