Skip to content

Commit

Permalink
Added a notify email address
Browse files Browse the repository at this point in the history
  • Loading branch information
Camelia-Orcid committed Nov 8, 2024
1 parent c9db1c5 commit 81a2bcb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ public class ApiRateLimitFilter extends OncePerRequestFilter {
+ "(https://info.orcid.org/documentation/integration-guide/registering-a-public-api-client/ )";

private static final String SUBJECT = "[ORCID] You have exceeded the daily Public API Usage Limit - ";
private static final String FROM_ADDRESS = "\"Engagement Team, ORCID\" <[email protected]>";

@Value("${org.orcid.papi.rate.limit.fromEmail:[email protected]}")
private String FROM_ADDRESS;

@Override
protected void doFilterInternal(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, FilterChain filterChain)
Expand Down

0 comments on commit 81a2bcb

Please sign in to comment.