Android fix: method now also contains

This commit is contained in:
Aleksandr Pantiukhov
2018-11-05 16:26:07 +01:00
parent f3381bb5a2
commit ed39e6d379
@@ -46,9 +46,9 @@ public class HttpServerModule extends ReactContextBaseJavaModule implements Life
}
@ReactMethod
public void respond(int code, String type, String body) {
public void respond(String requestId, int code, String type, String body) {
if (server != null) {
server.respond(code, type, body);
server.respond(requestId, code, type, body);
}
}