Dax Raad hai 1 ano
pai
achega
a2d652b13d
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  1. 2 4
      js/src/share/share.ts

+ 2 - 4
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);
+      });
     });
   });