diff --git a/README.md b/README.md index 83b963d..b9a3312 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ await Requests.setStoredCookies(url, cookieJar); // Add a single cookie using [Requests.addCookie] // Same as the above one but without exposing `cookies.dart` -Requests.addCookie(url, "name", "value"); +await Requests.addCookie(url, "name", "value"); ``` More examples can be found in [example/](./example/).