fix: Collection creator not written (bad merge from refactor while this branch has been open)
refactor: Move processing to async queue now that file can be loaded from external storage
This commit is contained in:
@ -57,7 +57,7 @@ export default async function collectionImporter({
|
||||
name: item.name,
|
||||
},
|
||||
defaults: {
|
||||
creatorId: user.id,
|
||||
createdById: user.id,
|
||||
private: false,
|
||||
},
|
||||
});
|
||||
@ -69,7 +69,7 @@ export default async function collectionImporter({
|
||||
const name = `${item.name} (Imported)`;
|
||||
collection = await Collection.create({
|
||||
teamId: user.teamId,
|
||||
creatorId: user.id,
|
||||
createdById: user.id,
|
||||
name,
|
||||
private: false,
|
||||
});
|
||||
|
Reference in New Issue
Block a user