Browse Source

fix: outliner lint - part of LOG-3197

Gabriel Horner 1 year ago
parent
commit
9d2c3ff5e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deps/outliner/src/logseq/outliner/core.cljs

+ 1 - 1
deps/outliner/src/logseq/outliner/core.cljs

@@ -232,7 +232,7 @@
          (map (fn [tag]
                 [:db/retract (:db/id block) :block/tags (:db/id tag)])))))
 
-(defn validate-unique-by-name-tag-and-block-type
+(defn ^:api validate-unique-by-name-tag-and-block-type
   "Validates uniqueness of blocks and pages for the following cases:
    - Page names are unique by tag e.g. their can be Apple #Company and Apple #Fruit
    - Page names are unique when they have no tag