Browse Source

fix: internal-ident?

Also fix db test
Gabriel Horner 3 weeks ago
parent
commit
1a1896ba5b

+ 1 - 2
deps/db/src/logseq/db/frontend/property.cljs

@@ -695,8 +695,7 @@
     "logseq.property.code" "logseq.property.repeat"
     "logseq.property.journal" "logseq.property.class" "logseq.property.view"
     "logseq.property.user" "logseq.property.history" "logseq.property.embedding"
-    "logseq.property.reaction"
-    "logseq.property.publish"})
+    "logseq.property.reaction" "logseq.property.sync" "logseq.property.publish"})
 
 (defn logseq-property?
   "Determines if keyword is a logseq property"

+ 1 - 3
deps/db/test/logseq/db/frontend/reaction_test.cljs

@@ -13,9 +13,7 @@
                    :blocks [{:block/title "Block"}]}]})
           block (db-test/find-block-by-content @conn "Block")
           now (common-util/time-ms)
-          reaction {:block/uuid (random-uuid)
-                    :block/created-at now
-                    :block/updated-at now
+          reaction {:block/created-at now
                     :logseq.property.reaction/emoji-id "+1"
                     :logseq.property.reaction/target (:db/id block)}]
       (d/transact! conn [reaction])