summaryrefslogtreecommitdiffhomepage
path: root/js/src
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-23 16:57:10 -0400
committerDax Raad <[email protected]>2025-05-26 12:40:17 -0400
commita2d652b13d31339057ccfe8c6256b9f93fcae2b4 (patch)
tree373643ea4a7e3d7827c9faa9fbe71922a8c51a79 /js/src
parent5c491758f57b4e5eaf8d15f3bcd02f775ab3edad (diff)
downloadopencode-a2d652b13d31339057ccfe8c6256b9f93fcae2b4.tar.gz
opencode-a2d652b13d31339057ccfe8c6256b9f93fcae2b4.zip
sync
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);
+ });
});
});