dev
Test Workflow / test (push) Successful in 2s

This commit is contained in:
vladp
2026-01-30 22:36:20 +07:00
parent a4858cf6c5
commit 7dd057603d
@@ -46,7 +46,7 @@ public class TariffService {
}
public TariffDTO getTariffByType(TariffType type) {
return tariffRepository.findByType(type)
return tariffRepository.findByType(type.toString())
.map(this::convertToDTO)
.orElseThrow(() -> new TariffNotFoundException("Tariff not found"));
}