Skip to content

Commit

Permalink
fix: set Dzmitry Varabei as default trainer
Browse files Browse the repository at this point in the history
  • Loading branch information
apalchys committed Apr 25, 2024
1 parent 702a546 commit 58b36d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nestjs/src/certificates/dto/certificate-metadata.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class CertificateMetadataDto {
this.name = `${user.firstName} ${user.lastName}`;
this.issueDate = certificate.issueDate.toISOString().split('T')[0] as string;
this.issuer = 'RS School';
this.courseTrainers = course.certificateIssuer;
this.courseTrainers = course.certificateIssuer ?? 'Dzmitry Varabei';
this.courseFullName = course.fullName;
this.courseDiscipline = course.discipline?.name ?? 'N/A';
}
Expand Down

0 comments on commit 58b36d5

Please sign in to comment.