Skip to content

Commit 7b1c3bf

Browse files
authored
fix:scheduleClient内构建pushClient时正确传参proxy
1 parent 14e80b2 commit 7b1c3bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/cn/jpush/api/schedule/ScheduleClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public ScheduleClient(String masterSecret, String appKey, HttpProxy proxy, Clien
8484
apnsProduction = (Integer) conf.get(ClientConfig.APNS_PRODUCTION);
8585
timeToLive = (Long) conf.get(ClientConfig.TIME_TO_LIVE);
8686
//createSchedule接口需要用到这个类
87-
pushClient = new PushClient(masterSecret, appKey, conf);
87+
pushClient = new PushClient(masterSecret, appKey, proxy, conf);
8888

8989
String authCode = ServiceHelper.getBasicAuthorization(appKey, masterSecret);
9090
this._httpClient = new NativeHttpClient(authCode, proxy, conf);

0 commit comments

Comments
 (0)