Skip to content

Commit

Permalink
CORE-2006: switched back to schema.core/both
Browse files Browse the repository at this point in the history
  • Loading branch information
slr71 committed Aug 3, 2024
1 parent 36ff673 commit 54b5ce8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/iplant_groups/routes/schemas/attribute.clj
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
(into {} (map (fn [[k v]] [(s/optional-key k) v]) AttributeDefinition)))

(def AttributeDefinitionLookup
(s/conditional AttributeDefinitionLookupSchema
(s/pred (some-fn :id :name) 'id-or-name-specified)))
(s/both AttributeDefinitionLookupSchema
(s/pred (some-fn :id :name) 'id-or-name-specified)))

(s/defschema BaseAttributeName
{:name
Expand Down

0 comments on commit 54b5ce8

Please sign in to comment.