Merge pull request #386 from Kitzanos/external-document-prod
Cherry-pick ( Fixed upload document to external system issue)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user