remove metadata from zip

This commit is contained in:
Ruben Fiszel
2023-02-22 09:12:22 +01:00
parent e81f7bd723
commit c280f6e798
8 changed files with 21 additions and 9 deletions
+12 -1
View File
@@ -1110,7 +1110,18 @@ where
.as_object()
.map(|obj| {
let mut obj = obj.clone();
for key in ["workspace_id", "path", "name", "versions"] {
for key in [
"workspace_id",
"path",
"name",
"versions",
"id",
"created_at",
"updated_at",
"created_by",
"updated_by",
"edited_at",
] {
if obj.contains_key(key) {
obj.remove(key);
}