ppapou commented on a change in pull request #842:
URL: https://github.com/apache/incubator-dlab/pull/842#discussion_r467085832



##########
File path: 
services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/ProjectServiceImpl.java
##########
@@ -344,10 +344,14 @@ private String getUpdateBudgetAudit(ProjectDTO p) {
                if (!configuration.isAuditEnabled()) {
                        return null;
                }
-               Integer value = 
Optional.ofNullable(get(p.getName()).getBudget())
+               ProjectDTO projectDTO = get(p.getName());
+               Integer value = Optional.ofNullable(projectDTO.getBudget())
                                .map(BudgetDTO::getValue)
                                .orElse(null);
-               return String.format(AUDIT_UPDATE_BUDGET, value, 
p.getBudget().getValue());
+               boolean monthlyBudget = 
Optional.ofNullable(projectDTO.getBudget())

Review comment:
       Primitive has been changed 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@dlab.apache.org
For additional commands, e-mail: dev-h...@dlab.apache.org

Reply via email to