Skip to content

Commit

Permalink
fix:scheduleClient内构建pushClient时正确传参proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
wicked-tc130 authored Aug 26, 2023
1 parent 14e80b2 commit 7b1c3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cn/jpush/api/schedule/ScheduleClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public ScheduleClient(String masterSecret, String appKey, HttpProxy proxy, Clien
apnsProduction = (Integer) conf.get(ClientConfig.APNS_PRODUCTION);
timeToLive = (Long) conf.get(ClientConfig.TIME_TO_LIVE);
//createSchedule接口需要用到这个类
pushClient = new PushClient(masterSecret, appKey, conf);
pushClient = new PushClient(masterSecret, appKey, proxy, conf);

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

0 comments on commit 7b1c3bf

Please sign in to comment.