Skip to content

Commit

Permalink
Remove duplicate Bean declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
gcatanese committed Nov 25, 2024
1 parent ad12cde commit ed7c718
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
Expand All @@ -16,7 +15,6 @@
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;
import java.security.SignatureException;

/**
* This is a special REST controller for receiving Adyen webhook notifications related to Giving / Donations
Expand Down Expand Up @@ -86,8 +84,4 @@ void consumeEvent(NotificationRequestItem item) {
// producer.close();
}

@Bean
public HMACValidator getGivingHmacValidator() {
return new HMACValidator();
}
}

0 comments on commit ed7c718

Please sign in to comment.