Atomic replacement of whole collection by PUT
This commit is contained in:
parent
0675328a02
commit
68286faa63
@ -574,9 +574,6 @@ class Application:
|
||||
tag = tags.get(content_type)
|
||||
|
||||
if write_whole_collection:
|
||||
if item:
|
||||
# Delete old collection
|
||||
item.delete()
|
||||
new_item = self.Collection.create_collection(
|
||||
path, items, {"tag": tag})
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user