Skip to content

Commit

Permalink
Fix/interface (#128)
Browse files Browse the repository at this point in the history
* fix: interface 오타

* fix: reservation redirect url

- reservations -> reservation

* fix: #127
  • Loading branch information
koreanddinghwan authored Oct 4, 2023
1 parent 9cf218e commit e4ee421
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions api-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1531,6 +1531,8 @@ components:
type: array
items:
$ref: '#/components/schemas/CategoryGet'
socialLink:
type: string

HomeGet:
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ export interface IMentorProfileUpdateRequest {
hashtags?: { id: number }[];
categories?: { id: number }[];
isHide?: boolean;
socialLinks?: string;
socialLink?: string;
}
1 change: 1 addition & 0 deletions src/models/user/dto/response/userGetResponse.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export class UserGetResponseDto implements IUserResponse {
updatedAt: Date;
mentoringCount: number;
isHide: boolean;
socialLink: string;
hashtags: {
id: number;
name: string;
Expand Down
1 change: 1 addition & 0 deletions src/models/user/queries/userSelect.query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const UserSelectQuery = {
updatedAt: true,
isHide: true,
mentoringCount: true,
socialLink: true,
hashtags: {
select: {
id: true,
Expand Down
2 changes: 1 addition & 1 deletion src/modules/notification/templates/baseMail.template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ export const baseMailTemplate = (
'Segoe UI Emoji' !important;
padding: 0;
">
<a href="https://42manito.com/reservations/${reservationId}"
<a href="https://42manito.com/reservation/${reservationId}"
rel="noopener noreferrer" style="
background-color: #1f883d !important;
box-sizing: border-box;
Expand Down

0 comments on commit e4ee421

Please sign in to comment.