Skip to content

Commit

Permalink
Removed Owner class from SalesforceGetEventsListDto
Browse files Browse the repository at this point in the history
  • Loading branch information
Raj-Shah1 committed Oct 16, 2023
1 parent be534d0 commit 491cff0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
@Component
public class DeleteSalesforceAccountEvent implements DeleteAccountEventInterface {

private final Util util = new Util();

Logger logger = LoggerFactory.getLogger(DeleteSalesforceAccountEvent.class);

@Autowired
Expand Down Expand Up @@ -67,7 +69,6 @@ public void deleteAccountEvent(User user, String accountId, String eventId) {
*/
private void parseResponse(String responseBody) {
logger.info("Parsing response body");
Util util = new Util();
JsonNode rootNode = util.getJsonNode(responseBody);

JsonNode deleteEventCompositeResponse = rootNode.get("compositeResponse").get(0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ private class CreatedBy {

}

@Data
@JsonNaming(PropertyNamingStrategies.UpperCamelCaseStrategy.class)
private class Owner {

private String name;

}

public EventEntity eventEntity() {

EventEntity eventEntity = new EventEntity();
Expand Down

0 comments on commit 491cff0

Please sign in to comment.