260728_02_ENH: SID String으로 교체

This commit is contained in:
2026-07-28 11:47:33 +09:00
parent d97015741a
commit d9f53c0c3d
18 changed files with 151 additions and 54 deletions

View File

@@ -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,