We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de06c58 commit ed1576cCopy full SHA for ed1576c
src/cosmos-db/documents/ticketing/event-ticket-profile.doc.ts
@@ -51,7 +51,7 @@ export class EventTicketProfileDoc {
51
required: false,
52
})
53
@IsString()
54
- profile: string = 'https://media.xoxno.com/utils/defaultProfilePic.webp';
+ profile?: string;
55
56
@ApiProperty({
57
@@ -143,6 +143,8 @@ export class EventTicketProfileDoc {
143
144
constructor(props?: Partial<EventTicketProfileDoc>) {
145
Object.assign(this, props);
146
+ this.profile =
147
+ this.profile || 'https://media.xoxno.com/utils/defaultProfilePic.webp';
148
this.pk = this.eventId;
149
}
150
0 commit comments