Skip to content

Commit 92dd2dd

Browse files
committed
chore: fix null
1 parent 511db5f commit 92dd2dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/io/getstream/core/StreamReactions.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,9 @@ public CompletableFuture<Void> restore(Token token, String id) throws StreamExce
315315

316316
try {
317317
final URL url = buildReactionsURL(baseURL, id + "/restore/");
318+
byte[] payload = new byte[0];
318319
return httpClient
319-
.execute(buildPut(url, key, token, null))
320+
.execute(buildPut(url, key, token, payload))
320321
.thenApply(
321322
response -> {
322323
try {

0 commit comments

Comments
 (0)