diff --git a/api-docs.yml b/api-docs.yml index 67d1ce9..0f5cbde 100644 --- a/api-docs.yml +++ b/api-docs.yml @@ -1531,6 +1531,8 @@ components: type: array items: $ref: '#/components/schemas/CategoryGet' + socialLink: + type: string HomeGet: type: object diff --git a/src/common/interfaces/api/mentorProfile/mentorProfileRequest.interface.ts b/src/common/interfaces/api/mentorProfile/mentorProfileRequest.interface.ts index 4251b93..8db9b65 100644 --- a/src/common/interfaces/api/mentorProfile/mentorProfileRequest.interface.ts +++ b/src/common/interfaces/api/mentorProfile/mentorProfileRequest.interface.ts @@ -8,5 +8,5 @@ export interface IMentorProfileUpdateRequest { hashtags?: { id: number }[]; categories?: { id: number }[]; isHide?: boolean; - socialLinks?: string; + socialLink?: string; } diff --git a/src/models/user/dto/response/userGetResponse.dto.ts b/src/models/user/dto/response/userGetResponse.dto.ts index 6bb963d..e7d2e6d 100644 --- a/src/models/user/dto/response/userGetResponse.dto.ts +++ b/src/models/user/dto/response/userGetResponse.dto.ts @@ -17,6 +17,7 @@ export class UserGetResponseDto implements IUserResponse { updatedAt: Date; mentoringCount: number; isHide: boolean; + socialLink: string; hashtags: { id: number; name: string; diff --git a/src/models/user/queries/userSelect.query.ts b/src/models/user/queries/userSelect.query.ts index e800f8f..9f07f8a 100644 --- a/src/models/user/queries/userSelect.query.ts +++ b/src/models/user/queries/userSelect.query.ts @@ -16,6 +16,7 @@ export const UserSelectQuery = { updatedAt: true, isHide: true, mentoringCount: true, + socialLink: true, hashtags: { select: { id: true, diff --git a/src/modules/notification/templates/baseMail.template.ts b/src/modules/notification/templates/baseMail.template.ts index ddfea2f..34c1708 100644 --- a/src/modules/notification/templates/baseMail.template.ts +++ b/src/modules/notification/templates/baseMail.template.ts @@ -617,7 +617,7 @@ export const baseMailTemplate = ( 'Segoe UI Emoji' !important; padding: 0; "> -