diff options
author | Philip Chimento <philip.chimento@gmail.com> | 2023-05-12 03:25:21 +0000 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2023-05-12 03:25:21 +0000 |
commit | e491c5f728e8decbe1ed86bc0833c9db287a9ef7 (patch) | |
tree | 6e2af3fb54aa42b5eaae549e431f680030e36b24 | |
parent | fb11886617fe6b332427cdb5b23b740fc4193d2c (diff) | |
parent | f1cb2c092441912e45f54c6c69b9300a5400ab99 (diff) | |
download | gjs-master.tar.gz |
doc: Fix http-client.js example
See merge request GNOME/gjs!840
-rw-r--r-- | examples/http-client.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/http-client.js b/examples/http-client.js index dd0a8878..b9535350 100644 --- a/examples/http-client.js +++ b/examples/http-client.js @@ -23,7 +23,7 @@ function splice_callback(outputStream, result) { let data; try { - outputStream.splice_finish(outputStream, result); + outputStream.splice_finish(result); data = outputStream.steal_as_bytes(); } catch (err) { logError(err); |