Cleaned the console.logs

This commit is contained in:
2024-01-08 16:40:12 -05:00
parent 78f7c1b595
commit 4cdb11fcbd

View File

@@ -57,7 +57,6 @@ export default class JobQueueService extends Service {
handler: async ( handler: async (
ctx: Context<{ queueName: string; description: string }> ctx: Context<{ queueName: string; description: string }>
) => { ) => {
console.log(ctx.params);
const { queueName, description } = ctx.params; const { queueName, description } = ctx.params;
// Enqueue the job // Enqueue the job
const job = await this.localQueue( const job = await this.localQueue(
@@ -85,7 +84,6 @@ export default class JobQueueService extends Service {
console.log( console.log(
`Recieved Job ID ${ctx.locals.job.id}, processing...` `Recieved Job ID ${ctx.locals.job.id}, processing...`
); );
console.log(ctx.params);
// 1. De-structure the job params // 1. De-structure the job params
const { fileObject } = ctx.locals.job.data.params; const { fileObject } = ctx.locals.job.data.params;
@@ -315,7 +313,6 @@ export default class JobQueueService extends Service {
filePath, filePath,
options options
); );
if (Array.isArray(result) && result.length !== 0) { if (Array.isArray(result) && result.length !== 0) {
// Get the containing directory of the uncompressed archive // Get the containing directory of the uncompressed archive
const directoryPath = path.dirname(result[0]); const directoryPath = path.dirname(result[0]);