mirror of
https://github.com/status-im/react-native-http-bridge.git
synced 2026-08-30 22:31:21 +00:00
Android fix: method now also contains
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user