summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSonny Piers <sonnyp@gnome.org>2023-05-04 10:36:25 +0000
committerSonny Piers <sonny@fastmail.net>2023-05-04 12:38:56 +0200
commitf1cb2c092441912e45f54c6c69b9300a5400ab99 (patch)
tree6e2af3fb54aa42b5eaae549e431f680030e36b24
parentfb11886617fe6b332427cdb5b23b740fc4193d2c (diff)
downloadgjs-f1cb2c092441912e45f54c6c69b9300a5400ab99.tar.gz
doc: Fix http-client.js examplesonny-master-patch-71423
-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);