summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2023-05-12 03:25:21 +0000
committerPhilip Chimento <philip.chimento@gmail.com>2023-05-12 03:25:21 +0000
commite491c5f728e8decbe1ed86bc0833c9db287a9ef7 (patch)
tree6e2af3fb54aa42b5eaae549e431f680030e36b24
parentfb11886617fe6b332427cdb5b23b740fc4193d2c (diff)
parentf1cb2c092441912e45f54c6c69b9300a5400ab99 (diff)
downloadgjs-master.tar.gz
Merge branch 'sonny-master-patch-71423' into 'master'HEADmaster
doc: Fix http-client.js example See merge request GNOME/gjs!840
-rw-r--r--examples/http-client.js2
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);