Skip to content

Commit

Permalink
sm style
Browse files Browse the repository at this point in the history
  • Loading branch information
nezaj committed Feb 19, 2025
1 parent f66549f commit 0616351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/instant/model/schema.clj
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
filtered-seq (attr-model/remove-hidden (attr-model/wrap-attrs attrs-seq))]
(into {}
(for [attr filtered-seq]
[(-> attr :forward-identity (nth 2) keyword) (dissoc attr :catalog)]))))
[(keyword (attr-model/fwd-label attr)) attr]))))

(defn defs->schema [defs]
(let [{entities :entities links :links} defs
Expand Down

0 comments on commit 0616351

Please sign in to comment.