From 328a6d51e5c0e3a04ac60ac111eb939e426d17c7 Mon Sep 17 00:00:00 2001 From: 3y Date: Sun, 8 May 2022 12:29:16 +0800 Subject: [PATCH] fix . --- .../austin/cron/handler/RefreshGeTuiAccessTokenHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/austin-cron/src/main/java/com/java3y/austin/cron/handler/RefreshGeTuiAccessTokenHandler.java b/austin-cron/src/main/java/com/java3y/austin/cron/handler/RefreshGeTuiAccessTokenHandler.java index e1f6ab6..b000df9 100644 --- a/austin-cron/src/main/java/com/java3y/austin/cron/handler/RefreshGeTuiAccessTokenHandler.java +++ b/austin-cron/src/main/java/com/java3y/austin/cron/handler/RefreshGeTuiAccessTokenHandler.java @@ -45,7 +45,7 @@ public class RefreshGeTuiAccessTokenHandler { log.info("refreshGeTuiAccessTokenJob#execute!"); SupportThreadPoolConfig.getPendingSingleThreadPool().execute(() -> { for (int index = SendAccountConstant.START; true; index = index + SendAccountConstant.STEP) { - GeTuiAccount account = accountUtils.getAccount(index, SendAccountConstant.GE_TUI_ACCOUNT_KEY, SendAccountConstant.GE_TUI_ACCOUNT_PREFIX, new GeTuiAccount()); + GeTuiAccount account = accountUtils.getAccount(index, SendAccountConstant.GE_TUI_ACCOUNT_KEY, SendAccountConstant.GE_TUI_ACCOUNT_PREFIX, GeTuiAccount.class); if (account == null) { break; }