fix(apis): types & incorrect property key for plugin caller

This commit is contained in:
charlie
2025-06-20 14:21:33 +08:00
committed by Tienson Qin
parent d80be20c28
commit 89c5e61daf
2 changed files with 5 additions and 5 deletions

View File

@@ -46,7 +46,7 @@
(defn resolve-property-prefix-for-db
[^js plugin]
(when (some-> js/window.LSPlugin (.-PluginLocal))
(or (some-> plugin (.-id) (sanitize-user-property-name) (str "."))
(or (some->> plugin (.-id) (sanitize-user-property-name) (str "."))
"._api")))
;; FIXME: This ns should not be creating idents. This allows for ident conflicts