mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 19:06:21 +00:00
fix(rtc): keys are string after malli-encode
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
(m/sp
|
||||
(let [decoded-message (rtc-const/data-to-ws-coercer (assoc message :req-id "temp-id"))
|
||||
message-str (js/JSON.stringify (clj->js (select-keys (rtc-const/data-to-ws-encoder decoded-message)
|
||||
[:graph-uuid :ops :t-before])))
|
||||
["graph-uuid" "ops" "t-before"])))
|
||||
len (.-length (utf8/encode message-str))]
|
||||
(when (< 100000 len)
|
||||
(let [{:keys [url key]} (m/? (ws/send&recv ws {:action "presign-put-temp-s3-obj"}))
|
||||
|
||||
Reference in New Issue
Block a user