261102_04_ENH: 설문현황 KON·KIWI 바로가기를 환경별 KART 프로젝트 URL로 변경
This commit is contained in:
@@ -131,19 +131,6 @@ export function useKartProjectListQuery(args: {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* KON/KIWI 설문 현황(리포트) 바로가기 URL
|
||||
*/
|
||||
export function useSurveyRedirectUrlQuery(isKiwi: number, pkey: string, enabled: boolean) {
|
||||
return useQuery({
|
||||
queryKey: qk.surveyRedirectUrl(isKiwi, pkey),
|
||||
queryFn: () => nextApi.get<string>(`/kart/survey-redirect-url/${isKiwi}/${encodeURIComponent(pkey)}`, { skipForbiddenHandler: true }),
|
||||
enabled: enabled && !!pkey,
|
||||
staleTime: 0,
|
||||
meta: { ignoreGlobalLoading: true },
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 프로젝트에 배정된 회사 ID 목록
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user