diff --git a/src/__generated__/schema2.d.ts b/src/__generated__/schema2.d.ts index 57469e4e..65add315 100644 --- a/src/__generated__/schema2.d.ts +++ b/src/__generated__/schema2.d.ts @@ -1665,13 +1665,13 @@ export interface components { */ joinableParts: ("PM" | "DESIGN" | "IOS" | "ANDROID" | "SERVER" | "WEB")[]; /** - * Format: int32 + * Format: int64 * @description 지원자 수 * @example 50 */ applicantCount: number; /** - * Format: int32 + * Format: int64 * @description 가입된 지원자 수 * @example 9 */ diff --git a/src/api/mention/index.ts b/src/api/mention/index.ts index 2d6e1bf2..031894ab 100644 --- a/src/api/mention/index.ts +++ b/src/api/mention/index.ts @@ -2,7 +2,7 @@ import { parseMention } from '@components/util/parseMention'; import { api } from '..'; export interface PostCommentWithMentionRequest { - userIds: number[] | null; + orgIds: number[] | null; content: string; postId: number; } diff --git a/src/components/feed/FeedCommentEditor/FeedCommentEditor.tsx b/src/components/feed/FeedCommentEditor/FeedCommentEditor.tsx index 46efab3d..67c2ed63 100644 --- a/src/components/feed/FeedCommentEditor/FeedCommentEditor.tsx +++ b/src/components/feed/FeedCommentEditor/FeedCommentEditor.tsx @@ -22,7 +22,7 @@ export default function FeedCommentEditor({ defaultValue, onCancel, onSubmit }: const handleSubmit = () => { onSubmit({ postId: postId as number, - userIds: userIds, + orgIds: userIds, content: comment, }); }; diff --git a/src/components/feed/FeedCommentInput/FeedCommentInput.tsx b/src/components/feed/FeedCommentInput/FeedCommentInput.tsx index 8b6d6551..6fc6b184 100644 --- a/src/components/feed/FeedCommentInput/FeedCommentInput.tsx +++ b/src/components/feed/FeedCommentInput/FeedCommentInput.tsx @@ -30,7 +30,7 @@ const FeedCommentInput = forwardRef( if (!comment.trim()) return; onSubmit({ postId: postId as number, - userIds: userIds, + orgIds: userIds, content: comment, }).then(() => { setComment(''); diff --git a/src/components/feed/Modal/FeedCreateModal.tsx b/src/components/feed/Modal/FeedCreateModal.tsx index 6c2c6fcc..6db95413 100644 --- a/src/components/feed/Modal/FeedCreateModal.tsx +++ b/src/components/feed/Modal/FeedCreateModal.tsx @@ -63,7 +63,7 @@ function FeedCreateModal({ isModalOpened, meetingId, handleModalClose }: CreateM alert('피드를 작성했습니다.'); mutatePostPostWithMention({ postId: res.postId, - userIds: parseMentionedUserIds(formMethods.getValues().contents), + orgIds: parseMentionedUserIds(formMethods.getValues().contents), content: formMethods.getValues().contents, }); submitModal.handleModalClose(); diff --git a/src/components/feed/Modal/FeedCreateWithSelectMeetingModal.tsx b/src/components/feed/Modal/FeedCreateWithSelectMeetingModal.tsx index 5802a829..ba8e4d86 100644 --- a/src/components/feed/Modal/FeedCreateWithSelectMeetingModal.tsx +++ b/src/components/feed/Modal/FeedCreateWithSelectMeetingModal.tsx @@ -67,7 +67,7 @@ function FeedCreateWithSelectMeetingModal({ isModalOpened, handleModalClose }: C alert('피드를 작성했습니다.'); mutatePostPostWithMention({ postId: res.postId, - userIds: parseMentionedUserIds(formMethods.getValues().contents), + orgIds: parseMentionedUserIds(formMethods.getValues().contents), content: formMethods.getValues().contents, }); submitModal.handleModalClose();