Skip to content

Commit 53815c4

Browse files
authored
fix wrong progress func in web
1 parent 1ef7f62 commit 53815c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tutorials/migrate-v5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ async::TaskHolder<WebResponse> listener;
249249

250250
auto req = WebRequest();
251251

252-
// optional progress callback, you can also directly poll via `req.progress()`
252+
// optional progress callback, you can also directly poll via `req.getProgress()`
253253
req.onProgress([](WebProgress const& progress) {
254254
log::debug("Progress: ", progress.downloadProgress());
255255
});

0 commit comments

Comments
 (0)