From ed39e6d379ca85db413b3ff7ad37c087b108ca86 Mon Sep 17 00:00:00 2001 From: Aleksandr Pantiukhov Date: Mon, 5 Nov 2018 16:26:07 +0100 Subject: [PATCH] Android fix: method now also contains --- .../src/main/java/me/alwx/HttpServer/HttpServerModule.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/main/java/me/alwx/HttpServer/HttpServerModule.java b/android/src/main/java/me/alwx/HttpServer/HttpServerModule.java index d0ab911..a8eac0b 100644 --- a/android/src/main/java/me/alwx/HttpServer/HttpServerModule.java +++ b/android/src/main/java/me/alwx/HttpServer/HttpServerModule.java @@ -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); } }