Fix collection creation with PUT request
This commit is contained in:
parent
8ac3ce1a89
commit
26e1c9ba89
@ -579,7 +579,8 @@ class Application:
|
|||||||
if item:
|
if item:
|
||||||
# Delete old collection
|
# Delete old collection
|
||||||
item.delete()
|
item.delete()
|
||||||
new_item = self.Collection.create_collection(path, items, tag)
|
new_item = self.Collection.create_collection(
|
||||||
|
path, items, {"tag": tag})
|
||||||
else:
|
else:
|
||||||
if tag:
|
if tag:
|
||||||
parent_item.set_meta({"tag": tag})
|
parent_item.set_meta({"tag": tag})
|
||||||
|
Loading…
Reference in New Issue
Block a user