Skip to content
Snippets Groups Projects
Commit 96879396 authored by Anton Kulyk's avatar Anton Kulyk Committed by Reza Lotun
Browse files

Fix `POST /api/collection` ignores authority_level (#17070)

parent 502e860d
No related branches found
No related tags found
No related merge requests found
......@@ -566,6 +566,7 @@
{:name name
:color color
:description description
:authority_level authority_level
:namespace namespace}
(when parent_id
{:location (collection/children-location (db/select-one [Collection :location :id] :id parent_id))}))))
......
......@@ -1046,7 +1046,7 @@
:color (s/eq "#f38630")
:name (s/eq "foo")
:personal_owner_id (s/eq nil)
:authority_level (s/eq nil)
:authority_level (s/eq "official")
:id s/Int
:location (s/eq "/")
:namespace (s/eq nil)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment