File tree Expand file tree Collapse file tree 3 files changed +0
-24
lines changed
pages/FestivalInfo/components Expand file tree Collapse file tree 3 files changed +0
-24
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -62,8 +62,6 @@ const API_ENDPOINTS = {
6262 MY_CUSTOM_FESTIVALS : '/api/festivals/my/custom' ,
6363 // ai추천 내역 조회
6464 AI_RECOMMENDATION_HISTORIES : '/api/recommendations/histories' ,
65- // 축제 관리자 신청 조회
66- FM_PERMISSION_CHECK : '/api/fm-permissions/check' ,
6765} as const ;
6866
6967export default API_ENDPOINTS ;
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import { SYSTEM_MESSAGES } from '@/constants/systemMessages';
1010import { checkFestivalManagerApply } from '@/apis/festivalManager/checkFestivalManagerApply' ;
1111import { showToastErrorMessage , showToastAxiosError } from '@/utils/showToastMessage' ;
1212import { checkFestivalManagerExist } from '@/apis/festivalManager/checkFestivalManagerExist' ;
13- import { checkFMPermission } from '@/apis/festivalManager/checkFMPermission' ;
1413
1514interface FestivalContentManagerSectionProps {
1615 festivalId : string ;
@@ -64,14 +63,6 @@ const FestivalContentManagerSection = ({
6463 const roleResponse = await getUserRole ( ) ;
6564 const isFestivalManager = roleResponse . data . content . isFestivalManagerOrAdmin ;
6665
67- // 축제 관리자가 이미 존재하는 지 확인
68- const checkFMPermissionResponse = await checkFMPermission ( ) ;
69- const existsPermission = checkFMPermissionResponse . data . content ;
70-
71- if ( existsPermission ) {
72- showToastErrorMessage ( SYSTEM_MESSAGES . FESTIVAL_MANAGER_APPLY . ALREADY_HAS_PERMISSION ) ;
73- return ;
74- }
7566 if ( ! isFestivalManager ) {
7667 // 축제 관리자 권한이 없는 경우
7768 setModalContent ( {
You can’t perform that action at this time.
0 commit comments