update return type to string

This commit is contained in:
Kyle Fang
2020-09-28 18:31:50 +08:00
parent eb8d1dc543
commit 303bd33df5

View File

@@ -22,7 +22,7 @@ public class VideoCacheModule extends ReactContextBaseJavaModule {
}
@ReactMethod(isBlockingSynchronousMethod = true)
public void convert(String url) {
public String convert(String url) {
if (this.proxy == null) {
this.proxy = new HttpProxyCacheServer(this.reactContext);
}