format
This commit is contained in:
@@ -44,10 +44,10 @@ export default async function postCollection(
|
||||
color: collection.color,
|
||||
parent: collection.parentId
|
||||
? {
|
||||
connect: {
|
||||
id: collection.parentId,
|
||||
},
|
||||
}
|
||||
connect: {
|
||||
id: collection.parentId,
|
||||
},
|
||||
}
|
||||
: undefined,
|
||||
},
|
||||
include: {
|
||||
@@ -78,7 +78,6 @@ export default async function postCollection(
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
createFolder({ filePath: `archives/${newCollection.id}` });
|
||||
|
||||
return { response: newCollection, status: 200 };
|
||||
|
||||
Reference in New Issue
Block a user