summaryrefslogtreecommitdiff
path: root/app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_PR_INFORMATION
diff options
context:
space:
mode:
Diffstat (limited to 'app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_PR_INFORMATION')
-rw-r--r--app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_PR_INFORMATION/route.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_PR_INFORMATION/route.ts b/app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_PR_INFORMATION/route.ts
index e195c7f6..012f47fc 100644
--- a/app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_PR_INFORMATION/route.ts
+++ b/app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_PR_INFORMATION/route.ts
@@ -138,6 +138,7 @@ export async function POST(request: NextRequest) {
return createSoapResponse('http://60.101.108.100/', {
'tns:IF_ECC_EVCP_PR_INFORMATIONRes': {
EV_TYPE: 'S',
+ EV_MESSAGE: 'Success',
},
});
}
@@ -146,8 +147,7 @@ export async function POST(request: NextRequest) {
return createSoapResponse('http://60.101.108.100/', {
'tns:IF_ECC_EVCP_PR_INFORMATIONRes': {
EV_TYPE: 'E',
- EV_MESSAGE:
- error instanceof Error ? error.message.slice(0, 100) : 'Unknown error',
+ EV_MESSAGE: error instanceof Error ? error.message.slice(0, 100) : 'Unknown error',
},
});
});