Merge pull request #386 from Kitzanos/external-document-prod

Cherry-pick ( Fixed upload document to external system issue)
This commit is contained in:
Rinaldo
2026-03-05 13:02:27 +01:00
committed by GitHub

View File

@@ -1240,9 +1240,9 @@ public class AppointmentDao {
if (documentAttachmentId!=null) {
// If the documentAttachmentId is already set, return the response
log.info("Document already uploaded with documentAttachmentId: {}", systemDoc.getDocumentAttachmentId());
log.info("Document already uploaded with documentAttachmentId: {}", documentAttachmentId);
DocumentUploadResponse response = new DocumentUploadResponse();
response.setDocumentAttachmentId(systemDoc.getDocumentAttachmentId());
response.setDocumentAttachmentId(documentAttachmentId);
return response;
}
// Check if a thread is already running for this document upload