260728_02_ENH: SID String으로 교체
This commit is contained in:
@@ -194,7 +194,9 @@ export function useSendResultBySidQuery(
|
||||
queryKey: qk.sendResultBySid(sid, prjctCd, reqstSvc, channelTy),
|
||||
queryFn: () => {
|
||||
const query = channelTy !== undefined ? `?channelTy=${channelTy}` : "";
|
||||
return nextApi.get<SendResultInfo[]>(`/message-report/send-result/${sid}/${prjctCd}/${reqstSvc}${query}`);
|
||||
return nextApi.get<SendResultInfo[]>(
|
||||
`/message-report/send-result/${encodeURIComponent(sid)}/${prjctCd}/${reqstSvc}${query}`,
|
||||
);
|
||||
},
|
||||
enabled: enabled && !!sid && !!prjctCd && !!reqstSvc,
|
||||
staleTime: 0,
|
||||
|
||||
Reference in New Issue
Block a user