From d007072ea94a651552d6f9482f3017faa384c939 Mon Sep 17 00:00:00 2001 From: XuqmGroup Date: Tue, 19 May 2026 15:57:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(update):=20send=20webhook=20on=20store=20li?= =?UTF-8?q?ve=20detection=20(Xiaomi=20=E5=B7=B2=E4=B8=8A=E6=9E=B6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updateStoreReviewLive was calling IM notifier but not sendWebhook, so polling-detected APPROVED events (e.g. Xiaomi going live) never triggered the tenant's configured webhook URL. Co-Authored-By: Claude Sonnet 4.6 --- .../src/main/java/com/xuqm/update/service/AppStoreService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/update-service/src/main/java/com/xuqm/update/service/AppStoreService.java b/update-service/src/main/java/com/xuqm/update/service/AppStoreService.java index 3c3f6b7..d4a331d 100644 --- a/update-service/src/main/java/com/xuqm/update/service/AppStoreService.java +++ b/update-service/src/main/java/com/xuqm/update/service/AppStoreService.java @@ -402,6 +402,7 @@ public class AppStoreService { Map.of("storeType", storeType, "preExisting", preExisting, "publishStatus", saved.getPublishStatus().name())); + sendWebhook(saved, storeType, AppVersionEntity.StoreReviewState.APPROVED, reason); storeReviewImNotifier.notifyStoreReviewChange( saved.getAppKey(), saved.getId(), storeType, AppVersionEntity.StoreReviewState.APPROVED.name(),