lemmy-js-client 0.17.0-rc.25 → 0.17.0-rc.26
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/websocket.js +1 -1
- package/package.json +1 -1
package/dist/websocket.js
CHANGED
@@ -514,6 +514,6 @@ exports.wsUserOp = wsUserOp;
|
|
514
514
|
* Converts a websocket string response to a usable result
|
515
515
|
*/
|
516
516
|
function wsJsonToRes(msg, responseClass) {
|
517
|
-
return (0, class_transformer_1.deserialize)(responseClass, msg.data);
|
517
|
+
return (0, class_transformer_1.deserialize)(responseClass, JSON.stringify(msg.data));
|
518
518
|
}
|
519
519
|
exports.wsJsonToRes = wsJsonToRes;
|
package/package.json
CHANGED