summaryrefslogtreecommitdiff
path: root/lib/swp/actions.ts
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-10-24 09:53:10 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-10-24 09:53:10 +0000
commit14961f2202b94be5ad881c762c524b8115a4f2cd (patch)
treea42fdbde4b3a96fd26be94aa9637677942909c9a /lib/swp/actions.ts
parent0174ad394032a8dad81107341f477d6d23a3c04c (diff)
parent3e85fbde628bb556e5f6a93cafd9ba4d53031461 (diff)
Merge branch 'dujinkim' of https://github.com/DTS-Development/SHI_EVCP into dujinkim
Diffstat (limited to 'lib/swp/actions.ts')
-rw-r--r--lib/swp/actions.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/swp/actions.ts b/lib/swp/actions.ts
index 79c0bafe..694936ab 100644
--- a/lib/swp/actions.ts
+++ b/lib/swp/actions.ts
@@ -31,7 +31,7 @@ export interface SwpDocumentWithStats {
DOC_NO: string;
DOC_TITLE: string;
PROJ_NO: string;
- PROJ_NM: string;
+ PROJ_NM: string | null;
PKG_NO: string | null;
VNDR_CD: string | null;
CPY_NM: string | null;
@@ -140,7 +140,7 @@ export async function fetchSwpDocuments(params: SwpTableParams) {
};
} catch (error) {
console.error("[fetchSwpDocuments] 오류:", error);
- throw new Error("문서 목록 조회 실패");
+ throw new Error("문서 목록 조회 실패 [SWP API에서 실패가 발생했습니다. 담당자에게 문의하세요]");
}
}