Pārlūkot izejas kodu

fix(rtc): dissoc schema-verison when apply-ops with s3-key

rcmerci 2 dienas atpakaļ
vecāks
revīzija
f89d108f4f

+ 0 - 1
src/main/frontend/worker/rtc/malli_schema.cljs

@@ -280,7 +280,6 @@
          [:t-before :int]]
          [:t-before :int]]
         [:map
         [:map
          [:req-id :string]
          [:req-id :string]
-         [:schema-version db-schema/major-schema-version-string-schema]
          [:action :string]
          [:action :string]
          [:profile {:optional true} :boolean]
          [:profile {:optional true} :boolean]
          [:s3-key :string]]]]
          [:s3-key :string]]]]

+ 1 - 1
src/main/frontend/worker/rtc/ws_util.cljs

@@ -61,7 +61,7 @@
                 message* (if s3-key
                 message* (if s3-key
                            (-> message
                            (-> message
                                (assoc :s3-key s3-key)
                                (assoc :s3-key s3-key)
-                               (dissoc :graph-uuid :ops :t-before))
+                               (dissoc :graph-uuid :ops :t-before :schema-version))
                            message)]
                            message)]
             (handle-remote-ex (m/? (ws/send&recv ws message* opts)))))]
             (handle-remote-ex (m/? (ws/send&recv ws message* opts)))))]
     (m/sp
     (m/sp