This commit is contained in:
2025-06-11 16:05:19 +02:00
parent 084f27ec91
commit bc591f687f
4 changed files with 69 additions and 6 deletions

View File

@@ -308,6 +308,18 @@ export default defineEventHandler(async (event) => {
'documensoID': documentResponse.documentId.toString()
};
// DEBUG: Log the documensoID being saved
console.log('[generate-eoi] DEBUGGING documensoID save:', {
interestId: interestId,
documentId: documentResponse.documentId,
documentId_type: typeof documentResponse.documentId,
documensoID_string: documentResponse.documentId.toString(),
documensoID_string_type: typeof documentResponse.documentId.toString(),
updateData_documensoID: updateData['documensoID'],
updateData_documensoID_type: typeof updateData['documensoID'],
full_updateData: updateData
});
// Add signing links to update data with new column names
if (signingLinks['Client']) {
updateData['Signature Link Client'] = signingLinks['Client'];