vidakovic commented on code in PR #5436:
URL: https://github.com/apache/fineract/pull/5436#discussion_r2760711206
##########
fineract-core/src/main/java/org/apache/fineract/infrastructure/event/external/api/ExternalEventConfigurationApiResource.java:
##########
@@ -61,13 +58,10 @@ public ExternalEventConfigurationResponse
getExternalEventConfigurations() {
@Consumes({ MediaType.APPLICATION_JSON })
@Produces({ MediaType.APPLICATION_JSON })
@Operation(summary = "Enable/Disable external events posting", description
= "")
- public ExternalEventConfigurationUpdateResponse
updateExternalEventConfigurations(@HeaderParam("Idempotency-Key") String
idempotencyKey,
+ public ExternalEventConfigurationUpdateResponse
updateExternalEventConfigurations(
@Valid ExternalEventConfigurationUpdateRequest request) {
final var command = new ExternalConfigurationsUpdateCommand();
- command.setId(UUID.randomUUID());
- command.setIdempotencyKey(idempotencyKey);
Review Comment:
This is fixed. That was old code from one of the previous iterations. The
proper idempotency key is now used (i.e. the configured one, not this hardcoded
default one).
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]