|
@@ -21,6 +21,7 @@ import lombok.RequiredArgsConstructor;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.redisson.api.RLock;
|
|
|
import org.redisson.api.RedissonClient;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.http.*;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -49,8 +50,8 @@ public class AppStoreWebhookMonitor {
|
|
|
private final AppStoreWebhookService appStoreWebhookService;
|
|
|
private final RestTemplate restTemplate = new RestTemplate();
|
|
|
|
|
|
- private AppStoreProperties properties;
|
|
|
- private AppStoreService appStoreService;
|
|
|
+ private final AppStoreProperties properties;
|
|
|
+ private final AppStoreService appStoreService;
|
|
|
|
|
|
@RequestMapping(value = "/webhook/subscription", method = RequestMethod.POST)
|
|
|
public ResponseEntity<String> receiveSubscriptionCallback(@RequestBody(required = false) ResponseBodyV2 responseBodyV2) {
|