Browse Source

Merge remote-tracking branch 'origin/test' into dev

anderx 7 years ago
parent
commit
3d026058ab

+ 1 - 1
src/main/java/com/goafanti/common/controller/PreviewController.java

@@ -280,7 +280,7 @@ public class PreviewController extends BaseApiController {
 	}
 
 	private void handleTechProjectPreview(HttpServletResponse response, TechProject tp, AttachmentType attachmentType) {
-		if (attachmentType == AttachmentType.TECH_PROJECT) {
+		if (attachmentType == AttachmentType.TECH_PROJECT||attachmentType == AttachmentType.ORGANIZATION_APPLICATION) {
 			downloadFile(response, tp.getApprovalDownloadFileName(), tp.getApprovalUrl());
 		}
 	}