Skip to content
This repository was archived by the owner on Jan 24, 2020. It is now read-only.

Commit b361878

Browse files
committed
resolves issue with promise resolution call
1 parent 07dfa29 commit b361878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/psykar/cookiemanager/CookieManagerModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public void setFromResponse(String url, String value, final Promise promise) thr
4949

5050
@ReactMethod
5151
public void getFromResponse(String url, Promise promise) throws URISyntaxException, IOException {
52-
promise.resolve(url, promise);
52+
promise.resolve(url);
5353
}
5454

5555
@ReactMethod

0 commit comments

Comments
 (0)