patches v1.0.2 #39

Merged
jkeffects merged 9 commits from develop into main 2025-01-13 10:22:29 +00:00
4 changed files with 0 additions and 9 deletions
Showing only changes of commit e1f6b36336 - Show all commits

View file

@ -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)

View file

@ -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)

View file

@ -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(

View file

@ -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) {