We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2333121 commit 00bdec2Copy full SHA for 00bdec2
src/main/java/com/example/NtfyConnectionImpl.java
@@ -89,7 +89,7 @@ public boolean sendFile(File file){
89
.PUT(HttpRequest.BodyPublishers.ofFile(file.toPath()))
90
.build();
91
92
- http.sendAsync(request, HttpResponse.BodyHandlers.discarding());
+ http.send(request, HttpResponse.BodyHandlers.discarding());
93
return true;
94
95
} catch (Exception e) {
0 commit comments