diff options
Diffstat (limited to 'lib/swp/actions.ts')
| -rw-r--r-- | lib/swp/actions.ts | 4 |
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에서 실패가 발생했습니다. 담당자에게 문의하세요]"); } } |
