Skip to content

Commit ed39e6d

Browse files
committed
Android fix: method now also contains
1 parent f3381bb commit ed39e6d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

android/src/main/java/me/alwx/HttpServer/HttpServerModule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ public void stop() {
4646
}
4747

4848
@ReactMethod
49-
public void respond(int code, String type, String body) {
49+
public void respond(String requestId, int code, String type, String body) {
5050
if (server != null) {
51-
server.respond(code, type, body);
51+
server.respond(requestId, code, type, body);
5252
}
5353
}
5454

0 commit comments

Comments
 (0)