diff --git a/apps/user/templates/arbiter-template.ts b/apps/user/templates/arbiter-template.ts index 483c0f296..efeee0331 100644 --- a/apps/user/templates/arbiter-template.ts +++ b/apps/user/templates/arbiter-template.ts @@ -7,10 +7,9 @@ export class ArbiterTemplate { async getArbiterTemplate(attributes: Attribute[]): Promise { try { - const [name, issuedBy] = await Promise.all(attributes).then((attributes) => { + const [name] = await Promise.all(attributes).then((attributes) => { const name = this.findAttributeByName(attributes, 'full_name')?.full_name ?? ''; - const issuedBy = this.findAttributeByName(attributes, 'issued_by')?.issued_by ?? ''; - return [name, issuedBy]; + return [name]; }); return ` @@ -75,7 +74,7 @@ export class ArbiterTemplate {

has served as an Arbiter at the - ${issuedBy} World Memory Championship 2023. + IAM World Memory Championship 2023.

diff --git a/apps/user/templates/participant-template.ts b/apps/user/templates/participant-template.ts index 75b4f0cac..f2738fb23 100644 --- a/apps/user/templates/participant-template.ts +++ b/apps/user/templates/participant-template.ts @@ -8,10 +8,9 @@ export class ParticipantTemplate { async getParticipantTemplate(attributes: Attribute[]): Promise { try { - const [name, issuedBy] = await Promise.all(attributes).then((attributes) => { + const [name] = await Promise.all(attributes).then((attributes) => { const name = this.findAttributeByName(attributes, 'full_name')?.full_name ?? ''; - const issuedBy = this.findAttributeByName(attributes, 'issued_by')?.issued_by ?? ''; - return [name, issuedBy]; + return [name]; }); return ` @@ -76,7 +75,7 @@ export class ParticipantTemplate { margin: 15px;">${name}

for successfully participating in the - ${issuedBy} World Memory Championship 2023. + IAM World Memory Championship 2023.

We acknowledge your dedication, hard work, and

diff --git a/apps/user/templates/winner-template.ts b/apps/user/templates/winner-template.ts index 49526e6da..72e3a3c30 100644 --- a/apps/user/templates/winner-template.ts +++ b/apps/user/templates/winner-template.ts @@ -7,14 +7,13 @@ export class WinnerTemplate { async getWinnerTemplate(attributes: Attribute[]): Promise { try { - const [name, position, discipline, issuedBy, category] = await Promise.all(attributes).then((attributes) => { + const [name, position, discipline, category] = await Promise.all(attributes).then((attributes) => { const name = this.findAttributeByName(attributes, 'full_name')?.full_name ?? ''; const position = this.findAttributeByName(attributes, 'position')?.position ?? ''; const discipline = this.findAttributeByName(attributes, 'discipline')?.discipline ?? ''; - const issuedBy = this.findAttributeByName(attributes, 'issued_by')?.issued_by ?? ''; const category = this.findAttributeByName(attributes, 'category')?.category ?? ''; const date = this.findAttributeByName(attributes, 'issued_date')?.issued_date ?? ''; - return [name, position, discipline, issuedBy, category, date]; + return [name, position, discipline, category, date]; }); return ` @@ -79,7 +78,7 @@ export class WinnerTemplate {

has secured ${position} position for ${discipline}

in ${category} category at the

- ${issuedBy} World Memory Championship 2023. + IAM World Memory Championship 2023.

diff --git a/apps/user/templates/world-record-template.ts b/apps/user/templates/world-record-template.ts index 70f9b8d36..3eb30cf8c 100644 --- a/apps/user/templates/world-record-template.ts +++ b/apps/user/templates/world-record-template.ts @@ -7,11 +7,10 @@ export class WorldRecordTemplate { async getWorldRecordTemplate(attributes: Attribute[]): Promise { try { - const [name, discipline, issuedBy] = await Promise.all(attributes).then((attributes) => { + const [name, discipline] = await Promise.all(attributes).then((attributes) => { const name = this.findAttributeByName(attributes, 'full_name')?.full_name ?? ''; const discipline = this.findAttributeByName(attributes, 'discipline')?.discipline ?? ''; - const issuedBy = this.findAttributeByName(attributes, 'issued_by')?.issued_by ?? ''; - return [name, discipline, issuedBy]; + return [name, discipline]; }); return ` @@ -77,7 +76,7 @@ export class WorldRecordTemplate { for successfully creating the world record in the ${discipline}

discipline during the - ${issuedBy} World Memory Championship 2023. + IAM World Memory Championship 2023.