change: removed dev logging
This commit is contained in:
parent
916a6da4a0
commit
e1f6b36336
4 changed files with 0 additions and 9 deletions
|
@ -43,7 +43,6 @@ export default abstract class MemberCommandHandler {
|
|||
* @returns {Promise<void>}
|
||||
*/
|
||||
static async update(updateMember: UpdateMemberCommand): Promise<void> {
|
||||
console.log(updateMember);
|
||||
return await dataSource
|
||||
.createQueryBuilder()
|
||||
.update(member)
|
||||
|
|
|
@ -44,7 +44,6 @@ export function configCheck() {
|
|||
if (typeof MAIL_PORT != "number") throw new Error("set valid numeric value to MAIL_PORT");
|
||||
if (MAIL_SECURE != "true" && MAIL_SECURE != "false") throw new Error("set 'true' or 'false' to MAIL_SECURE");
|
||||
|
||||
console.log(CLUB_WEBSITE);
|
||||
if (
|
||||
CLUB_WEBSITE != "" &&
|
||||
!/^(http(s):\/\/.)[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)$/.test(CLUB_WEBSITE)
|
||||
|
|
|
@ -132,8 +132,6 @@ export abstract class NewsletterHelper {
|
|||
}
|
||||
}
|
||||
|
||||
console.log(queryMemberIds);
|
||||
|
||||
let members = await MemberService.getAll(0, 1000);
|
||||
|
||||
return members[0].filter((m) => queryMemberIds.includes(m.id));
|
||||
|
@ -212,7 +210,6 @@ export abstract class NewsletterHelper {
|
|||
index,
|
||||
`failed to send to ${rec.sendNewsletter.email}`
|
||||
);
|
||||
console.log("mail send", err);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -292,7 +289,6 @@ export abstract class NewsletterHelper {
|
|||
index,
|
||||
`failed print for ${rec.lastname}, ${rec.firstname}`
|
||||
);
|
||||
console.log("pdf print", err);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -329,7 +325,6 @@ export abstract class NewsletterHelper {
|
|||
pdfRecipients.length,
|
||||
"failed combining pdf"
|
||||
);
|
||||
console.log("pdf squash", err);
|
||||
});
|
||||
|
||||
this.formatJobEmit(
|
||||
|
|
|
@ -19,7 +19,6 @@ export class InternalId1735822722235 implements MigrationInterface {
|
|||
);
|
||||
|
||||
// let memberships = await queryRunner.manager.getRepository(membership).find();
|
||||
// console.log(memberships);
|
||||
// let internalIds = memberships.reduce<{ [key: number]: Array<string> }>((acc, cur) => {
|
||||
// let memberId = cur.memberId;
|
||||
// let setIds = acc[memberId] ?? [];
|
||||
|
@ -30,7 +29,6 @@ export class InternalId1735822722235 implements MigrationInterface {
|
|||
// return acc;
|
||||
// }, {});
|
||||
|
||||
// console.log(internalIds);
|
||||
// for (const [id, value] of Object.entries(internalIds)) {
|
||||
// const ids = value.filter((v) => v != null).join(", ");
|
||||
// if (ids) {
|
||||
|
|
Loading…
Reference in a new issue