✨ remove console logs
This commit is contained in:
parent
4f59877fff
commit
f68d527dc1
@ -1318,10 +1318,10 @@ export default async function main() {
|
||||
deed.uid = deedCreated.uid;
|
||||
}
|
||||
|
||||
console.log(">MOCK DATA - Seeding completed!");
|
||||
console.info(">MOCK DATA - Seeding completed!");
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
console.log("Data already seeded, skiping");
|
||||
console.info("Data already seeded, skiping");
|
||||
}
|
||||
}
|
||||
main();
|
||||
|
@ -2177,10 +2177,10 @@ export default async function main() {
|
||||
officeFolder.uid = officeFolderCreated.uid;
|
||||
}
|
||||
|
||||
console.log(">MOCK DATA - Seeding completed!");
|
||||
console.info(">MOCK DATA - Seeding completed!");
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
console.log("Data already seeded, skiping");
|
||||
console.info("Data already seeded, skiping");
|
||||
}
|
||||
}
|
||||
main();
|
||||
|
@ -2174,10 +2174,10 @@ export default async function main() {
|
||||
officeFolder.uid = officeFolderCreated.uid;
|
||||
}
|
||||
|
||||
console.log(">MOCK DATA - Seeding completed!");
|
||||
console.info(">MOCK DATA - Seeding completed!");
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
console.log("Data already seeded, skiping");
|
||||
console.info("Data already seeded, skiping");
|
||||
}
|
||||
}
|
||||
main();
|
||||
|
@ -6,18 +6,17 @@ import { BackendVariables } from "@Common/config/variables/Variables";
|
||||
import CronService from "@Services/common/CronService/CronService";
|
||||
|
||||
(async () => {
|
||||
console.log("Cron started");
|
||||
console.info("Cron started");
|
||||
|
||||
try {
|
||||
const variables = await Container.get(BackendVariables).validate();
|
||||
Container.get(CronService).archiveFiles();
|
||||
await Container.get(CronService).updateUsers();
|
||||
Container.get(CronService).checkDocumentsExpiration();
|
||||
if(variables.ENV !== "dev"){
|
||||
if (variables.ENV !== "dev") {
|
||||
Container.get(CronService).sendMails();
|
||||
Container.get(CronService).sendRecapMails();
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
@ -174,7 +174,7 @@ export default class Id360Service extends BaseService {
|
||||
},
|
||||
);
|
||||
|
||||
console.log(await resRecto.json(), await resVerso.json());
|
||||
console.info(await resRecto.json(), await resVerso.json());
|
||||
|
||||
await this.finalizeEnrollment(apiKey);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user