summaryrefslogtreecommitdiffhomepage
path: root/js/src
diff options
context:
space:
mode:
Diffstat (limited to 'js/src')
-rw-r--r--js/src/share/share.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/src/share/share.ts b/js/src/share/share.ts
index 6191da684..6dd15ae36 100644
--- a/js/src/share/share.ts
+++ b/js/src/share/share.ts
@@ -20,11 +20,9 @@ export namespace Share {
sessionID: sessionID,
shareID: session.shareID,
key: payload.properties.key,
- content: payload.properties.content,
+ content: JSON.stringify(payload.properties.content),
}),
- })
- .then((x) => x.text())
- .then(console.log);
+ });
});
});