File tree 2 files changed +4
-3
lines changed
src/main/java/com/bigboxer23/switch_bot 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 4
4
5
5
<groupId >com.bigboxer23</groupId >
6
6
<artifactId >switchbotapi-java</artifactId >
7
- <version >1.2.2 </version >
7
+ <version >1.2.3 </version >
8
8
9
9
<name >switchbotapi-java</name >
10
10
<url >https://github.com/bigboxer23/switchbotapi-java</url >
98
98
<threadCount >4</threadCount >
99
99
<useUnlimitedThreads >false</useUnlimitedThreads >
100
100
<skipITs >${!integration} </skipITs >
101
- <rerunFailingTestsCount >1</rerunFailingTestsCount >
101
+ <rerunFailingTestsCount >1</rerunFailingTestsCount >
102
102
</configuration >
103
103
<executions >
104
104
<execution >
Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ protected RequestBuilderCallback addAuth() {
65
65
builder .addHeader ("Authorization" , token )
66
66
.addHeader ("sign" , signature )
67
67
.addHeader ("nonce" , nonce )
68
- .addHeader ("t" , time );
68
+ .addHeader ("t" , time )
69
+ .addHeader ("Content-Type" , "application/json; charset=utf-8" );
69
70
} catch (NoSuchAlgorithmException | InvalidKeyException e ) {
70
71
log .warn ("exception with auth: " , e );
71
72
}
You can’t perform that action at this time.
0 commit comments