Skip to content

Commit 609b2c5

Browse files
committed
Add magic back
1 parent 9663ac9 commit 609b2c5

File tree

1 file changed

+1
-1
lines changed
  • examples/powertools-examples-idempotency/src/main/java/helloworld

1 file changed

+1
-1
lines changed

examples/powertools-examples-idempotency/src/main/java/helloworld/App.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public App(DynamoDbClient client) {
5656
* <li>Second call (and next ones) will retrieve from the cache (if cache is enabled, which is by default) or from the store, the handler won't be called. Until the expiration happens (by default 1 hour).</li>
5757
* </ul>
5858
*/
59-
@Idempotent
59+
@Idempotent // The magic is here!
6060
@Logging(logEvent = true)
6161
public APIGatewayProxyResponseEvent handleRequest(final APIGatewayProxyRequestEvent input, final Context context) {
6262
Map<String, String> headers = new HashMap<>();

0 commit comments

Comments
 (0)