Merge pull request #260 from Kitzanos/feature/GEPAFINBE-200

GEPAFINBE-200 (Check for 0 bytes in file)
This commit is contained in:
Rinaldo
2025-04-07 09:06:51 +02:00
committed by GitHub
6 changed files with 119 additions and 78 deletions

View File

@@ -209,7 +209,6 @@ public class DelegationDao {
companyDao.validateCompany(companyId);
companyDao.getUserWithCompany(userEntity.getId(), companyId);
validateFileType(file);
UserWithCompanyEntity userWithCompanyEntity=companyService.getUserWithCompany(userEntity.getId(),companyId);
UserCompanyDelegationEntity userCompanyDelegationEntity = userCompanyDelegationRepository
.findByUserIdAndUserWithCompanyIdAndStatus(userEntity.getId(), userWithCompanyEntity.getId(),