mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
fix: content type being set to "content" during sync
this bug broke export/publishing & basically everything that depends on content type to function.
This commit is contained in:
@@ -257,7 +257,9 @@ class Sync {
|
||||
|
||||
const arrays = data.items.reduce(
|
||||
(arrays, item) => {
|
||||
arrays.types.push(item.type);
|
||||
arrays.types.push(item.collectionId);
|
||||
|
||||
delete item.collectionId;
|
||||
arrays.items.push(item);
|
||||
return arrays;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user